All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.database.api.Consistency Maven / Gradle / Ivy

Go to download

A library that provides a distributed storage abstraction and client-coordinated distributed transaction manager on the storage.

There is a newer version: 3.13.0
Show newest version
package com.scalar.database.api;

/**
 * Consistency level set in an {@link Operation}.
 *
 * @author Hiroyuki Yamada
 */
public enum Consistency {
  /**
   * Sequential consistency. With this consistency, it assumes that the underlining storage
   * implementation makes all operations appear to take effect in some sequential order, and the
   * operations of each individual process appear in this sequence.
   */
  SEQUENTIAL,
  /**
   * Eventual consistency. With this consistency, it assumes that the underlining storage
   * implementation makes all operations take effect eventually.
   */
  EVENTUAL,
  /**
   * Linearizable consistency. With this consistency, it assumes that the underlining storage
   * implementation makes each operation appears to take effect atomically at some point between its
   * invocation and completion.
   */
  LINEARIZABLE,
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy