Enum ReadPolicy.Consistency (2.0.0)

public enum ReadPolicy.Consistency extends Enum<ReadPolicy.Consistency>

Setting the Consistency for reads allows you to decide whether freshness or availability is more important.

Static Fields

Name Description
EVENTUAL

Selects availability over freshness. Eventually consistent reads will timeout less often than Strong reads but will occasionally return stale results.

STRONG

Selects freshness over availability. Strongly consistent reads are guaranteed to return the most up-to-date data but will timeout more often than eventually consistent reads.

Static Methods

Name Description
valueOf(String name)
values()