Interface CheckAndSetCompatibility

    • Method Detail

      • supportsCheckAndSetOperations

        boolean supportsCheckAndSetOperations()
        If false, this KeyValueService does not support check and set operations.
      • consistentOnFailure

        boolean consistentOnFailure()
        If true, on CAS or PUE failure other than a CheckAndSetException or a KeyAlreadyExistsException, the values may or may not have been persisted but the state is guaranteed to be consistent: any subsequent reads will be repeatable. If false, the value may have been persisted in a way that subsequent reads are not repeatable: if a read before the operation could have returned values from a set S, it can non-deterministically return a value from S U {newValue} afterwards. This method should only be called if supportsCheckAndSetOperations() is true. If it is not true, behaviour is undefined.
      • supportedBuilder

        static com.palantir.atlasdb.keyvalue.api.ImmutableSupported.Builder supportedBuilder()