public static class ReplicaPlan.ForRangeRead extends ReplicaPlan.AbstractForRead<EndpointsForRange,ReplicaPlan.ForRangeRead>
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
consistencyLevel, keyspace, replicationStrategy
Constructor and Description |
---|
ForRangeRead(Keyspace keyspace,
AbstractReplicationStrategy replicationStrategy,
ConsistencyLevel consistencyLevel,
AbstractBounds<PartitionPosition> range,
EndpointsForRange candidates,
EndpointsForRange contact,
int vnodeCount) |
Modifier and Type | Method and Description |
---|---|
AbstractBounds<PartitionPosition> |
range() |
int |
vnodeCount() |
ReplicaPlan.ForRangeRead |
withContacts(EndpointsForRange newContact) |
firstUncontactedCandidate, lookup, readCandidates, readQuorum, toString
consistencyLevel, contacts, keyspace, replicationStrategy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
consistencyLevel, contacts, keyspace, replicationStrategy, shared, shared
public ForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount)
public AbstractBounds<PartitionPosition> range()
public int vnodeCount()
public ReplicaPlan.ForRangeRead withContacts(EndpointsForRange newContact)
Copyright © 2009- The Apache Software Foundation