Package org.apache.cassandra.locator
Class ReplicaPlan.ForTokenRead
- java.lang.Object
-
- org.apache.cassandra.locator.ReplicaPlan.AbstractReplicaPlan<E,P>
-
- org.apache.cassandra.locator.ReplicaPlan.AbstractForRead<EndpointsForToken,ReplicaPlan.ForTokenRead>
-
- org.apache.cassandra.locator.ReplicaPlan.ForTokenRead
-
- All Implemented Interfaces:
ReplicaPlan<EndpointsForToken,ReplicaPlan.ForTokenRead>
,ReplicaPlan.ForRead<EndpointsForToken,ReplicaPlan.ForTokenRead>
- Enclosing interface:
- ReplicaPlan<E extends Endpoints<E>,P extends ReplicaPlan<E,P>>
public static class ReplicaPlan.ForTokenRead extends ReplicaPlan.AbstractForRead<EndpointsForToken,ReplicaPlan.ForTokenRead>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.locator.ReplicaPlan
ReplicaPlan.AbstractForRead<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E,P>>, ReplicaPlan.AbstractReplicaPlan<E extends Endpoints<E>,P extends ReplicaPlan<E,P>>, ReplicaPlan.ForPaxosWrite, ReplicaPlan.ForRangeRead, ReplicaPlan.ForRead<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E,P>>, ReplicaPlan.ForTokenRead, ReplicaPlan.ForWrite, ReplicaPlan.Shared<E extends Endpoints<E>,P extends ReplicaPlan<E,P>>, ReplicaPlan.SharedForRangeRead, ReplicaPlan.SharedForTokenRead
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.locator.ReplicaPlan.AbstractReplicaPlan
consistencyLevel, keyspace, replicationStrategy
-
-
Constructor Summary
Constructors Constructor Description ForTokenRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken candidates, EndpointsForToken contacts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaPlan.ForTokenRead
withContacts(EndpointsForToken newContact)
-
Methods inherited from class org.apache.cassandra.locator.ReplicaPlan.AbstractForRead
firstUncontactedCandidate, lookup, readCandidates, readQuorum, toString
-
Methods inherited from class org.apache.cassandra.locator.ReplicaPlan.AbstractReplicaPlan
consistencyLevel, contacts, keyspace, replicationStrategy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.locator.ReplicaPlan
consistencyLevel, contacts, keyspace, replicationStrategy
-
-
-
-
Constructor Detail
-
ForTokenRead
public ForTokenRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken candidates, EndpointsForToken contacts)
-
-
Method Detail
-
withContacts
public ReplicaPlan.ForTokenRead withContacts(EndpointsForToken newContact)
-
-