Uses of Enum
io.microraft.QueryPolicy
-
Uses of QueryPolicy in io.microraft
Modifier and TypeMethodDescriptionstatic QueryPolicy
Returns the enum constant of this type with the specified name.static QueryPolicy[]
QueryPolicy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescription<T> CompletableFuture<Ordered<T>>
RaftNode.query
(Object operation, QueryPolicy queryPolicy, Optional<Long> minCommitIndex, Optional<Duration> timeout) Executes the given query with the given query policy.