Package org.apache.cassandra.locator
Class ReplicaPlan.SharedForRangeRead
java.lang.Object
org.apache.cassandra.locator.ReplicaPlan.SharedForRangeRead
- All Implemented Interfaces:
Supplier<ReplicaPlan.ForRangeRead>,ReplicaPlan.Shared<EndpointsForRange,ReplicaPlan.ForRangeRead>
- Enclosing interface:
- ReplicaPlan<E extends Endpoints<E>,
P extends ReplicaPlan<E, P>>
public static class ReplicaPlan.SharedForRangeRead
extends Object
implements ReplicaPlan.Shared<EndpointsForRange,ReplicaPlan.ForRangeRead>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddToContacts(Replica replica) add the provided replica to this shared plan, by updating the internal referenceget()get the shared replica plan, non-volatile (so maybe stale) but no risk of partially initialised
-
Method Details
-
addToContacts
Description copied from interface:ReplicaPlan.Sharedadd the provided replica to this shared plan, by updating the internal reference- Specified by:
addToContactsin interfaceReplicaPlan.Shared<EndpointsForRange,ReplicaPlan.ForRangeRead>
-
get
Description copied from interface:ReplicaPlan.Sharedget the shared replica plan, non-volatile (so maybe stale) but no risk of partially initialised- Specified by:
getin interfaceReplicaPlan.Shared<EndpointsForRange,ReplicaPlan.ForRangeRead> - Specified by:
getin interfaceSupplier<ReplicaPlan.ForRangeRead>
-