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

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

Go to download

A universal transaction manager that achieves database-agnostic transactions and distributed transactions that span multiple databases

There is a newer version: 3.14.0
Show newest version
package com.scalar.db.api;

/**
 * Consistency level set in an {@link Operation}.
 *
 * @author Hiroyuki Yamada
 */
public enum Consistency {
  /**
   * Sequential consistency. With this consistency, it assumes that the underlying 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 underlying storage
   * implementation makes all operations take effect eventually.
   */
  EVENTUAL,
  /**
   * Linearizable consistency. With this consistency, it assumes that the underlying 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