KandraConsistency
Consistency levels for ScyllaDB/Cassandra operations.
Write consistency
Default: LOCAL_QUORUM — majority of replicas in the local DC must acknowledge.
Read consistency
Default: LOCAL_ONE — single replica in the local DC, fastest possible read.
LWT serial consistency (for saveIfNotExists)
Use LOCAL_SERIAL (default) for Paxos within the local DC only. Use SERIAL for globally unique constraints (e.g. a username unique across ALL DCs).
Consistency resolution order (highest priority first)
Per-operation parameter on the repository method
@ReadConsistency/@WriteConsistencyannotation on the entity classKandraConfig.consistency.defaultRead/defaultWrite
Entries
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.