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