public static class ReplicaLayout.ForTokenRead extends ReplicaLayout<EndpointsForToken> implements ReplicaLayout.ForToken
ReplicaLayout.ForRange, ReplicaLayout.ForRangeRead, ReplicaLayout.ForToken, ReplicaLayout.ForTokenRead, ReplicaLayout.ForTokenWrite, ReplicaLayout.ForWrite<E extends Endpoints<E>>
Constructor and Description |
---|
ForTokenRead(AbstractReplicationStrategy replicationStrategy,
EndpointsForToken natural) |
Modifier and Type | Method and Description |
---|---|
ReplicaLayout.ForTokenRead |
filter(java.util.function.Predicate<Replica> filter) |
Token |
token() |
all, forTokenWrite, forTokenWriteLiveAndDown, natural, replicationStrategy, toString
public ForTokenRead(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural)
public Token token()
token
in interface ReplicaLayout.ForToken
public ReplicaLayout.ForTokenRead filter(java.util.function.Predicate<Replica> filter)
Copyright © 2009-2021 The Apache Software Foundation