Package org.apache.cassandra.locator
Class ReplicaPlan.ForRangeRead
- java.lang.Object
-
- org.apache.cassandra.locator.ReplicaPlan<E>
-
- org.apache.cassandra.locator.ReplicaPlan.ForRead<EndpointsForRange>
-
- org.apache.cassandra.locator.ReplicaPlan.ForRangeRead
-
- Enclosing class:
- ReplicaPlan<E extends Endpoints<E>>
public static class ReplicaPlan.ForRangeRead extends ReplicaPlan.ForRead<EndpointsForRange>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.locator.ReplicaPlan
ReplicaPlan.ForPaxosWrite, ReplicaPlan.ForRangeRead, ReplicaPlan.ForRead<E extends Endpoints<E>>, ReplicaPlan.ForTokenRead, ReplicaPlan.ForTokenWrite, ReplicaPlan.ForWrite<E extends Endpoints<E>>, ReplicaPlan.Shared<E extends Endpoints<E>,P extends ReplicaPlan<E>>, ReplicaPlan.SharedForRangeRead, ReplicaPlan.SharedForTokenRead
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.locator.ReplicaPlan
consistencyLevel, keyspace, replicationStrategy
-
-
Constructor Summary
Constructors Constructor Description ForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractBounds<PartitionPosition>
range()
int
vnodeCount()
-
Methods inherited from class org.apache.cassandra.locator.ReplicaPlan.ForRead
blockFor, candidates, firstUncontactedCandidate, lookup, toString
-
Methods inherited from class org.apache.cassandra.locator.ReplicaPlan
consistencyLevel, contacts, contacts, keyspace, replicationStrategy, shared, shared
-
-
-
-
Constructor Detail
-
ForRangeRead
public ForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount)
-
-
Method Detail
-
range
public AbstractBounds<PartitionPosition> range()
-
vnodeCount
public int vnodeCount()
- Returns:
- number of vnode ranges covered by the range
-
-