public static class ReplicaPlan.ForTokenWrite extends ReplicaPlan.ForWrite<EndpointsForToken>
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
consistencyLevel, keyspace, replicationStrategy
Constructor and Description |
---|
ForTokenWrite(Keyspace keyspace,
AbstractReplicationStrategy replicationStrategy,
ConsistencyLevel consistencyLevel,
EndpointsForToken pending,
EndpointsForToken liveAndDown,
EndpointsForToken live,
EndpointsForToken contact) |
Modifier and Type | Method and Description |
---|---|
ReplicaPlan.ForTokenWrite |
withContact(EndpointsForToken newContact) |
blockFor, isAlive, live, liveAndDown, liveUncontacted, lookup, pending, toString
consistencyLevel, contacts, contacts, keyspace, replicationStrategy, shared, shared
public ForTokenWrite(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken pending, EndpointsForToken liveAndDown, EndpointsForToken live, EndpointsForToken contact)
public ReplicaPlan.ForTokenWrite withContact(EndpointsForToken newContact)
Copyright © 2009- The Apache Software Foundation