Class ReadPolicy (2.0.0)

public final class ReadPolicy

Policy for reads.

Inheritance

java.lang.Object > ReadPolicy

Constructors

ReadPolicy(ReadPolicy.Consistency consistency)

public ReadPolicy(ReadPolicy.Consistency consistency)
Parameter
Name Description
consistency ReadPolicy.Consistency

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getConsistency()

public ReadPolicy.Consistency getConsistency()
Returns
Type Description
ReadPolicy.Consistency

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides