Package org.apache.cassandra.locator
Class ReplicaLayout.ForTokenRead
- java.lang.Object
-
- org.apache.cassandra.locator.ReplicaLayout<EndpointsForToken>
-
- org.apache.cassandra.locator.ReplicaLayout.ForTokenRead
-
- All Implemented Interfaces:
ReplicaLayout.ForToken
- Enclosing class:
- ReplicaLayout<E extends Endpoints<E>>
public static class ReplicaLayout.ForTokenRead extends ReplicaLayout<EndpointsForToken> implements ReplicaLayout.ForToken
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.locator.ReplicaLayout
ReplicaLayout.ForRange, ReplicaLayout.ForRangeRead, ReplicaLayout.ForToken, ReplicaLayout.ForTokenRead, ReplicaLayout.ForTokenWrite, ReplicaLayout.ForWrite<E extends Endpoints<E>>
-
-
Constructor Summary
Constructors Constructor Description ForTokenRead(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaLayout.ForTokenRead
filter(java.util.function.Predicate<Replica> filter)
Token
token()
-
Methods inherited from class org.apache.cassandra.locator.ReplicaLayout
all, forTokenReadLiveSorted, forTokenWrite, forTokenWriteLiveAndDown, natural, replicationStrategy, toString
-
-
-
-
Constructor Detail
-
ForTokenRead
public ForTokenRead(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural)
-
-
Method Detail
-
token
public Token token()
- Specified by:
token
in interfaceReplicaLayout.ForToken
-
filter
public ReplicaLayout.ForTokenRead filter(java.util.function.Predicate<Replica> filter)
-
-