Uses of Class
org.apache.cassandra.locator.EndpointsForToken
-
Packages that use EndpointsForToken Package Description org.apache.cassandra.locator org.apache.cassandra.service org.apache.cassandra.service.reads -
-
Uses of EndpointsForToken in org.apache.cassandra.locator
Subclasses of EndpointsForToken in org.apache.cassandra.locator Modifier and Type Class Description static class
EndpointsForToken.Builder
Methods in org.apache.cassandra.locator that return EndpointsForToken Modifier and Type Method Description EndpointsForToken
EndpointsForToken.Builder. build()
static EndpointsForToken
EndpointsForToken. copyOf(Token token, java.util.Collection<Replica> replicas)
static EndpointsForToken
EndpointsForToken. empty(Token token)
EndpointsForToken
EndpointsForRange. forToken(Token token)
EndpointsForToken
AbstractReplicationStrategy. getNaturalReplicasForToken(RingPosition<?> searchPosition)
get the (possibly cached) endpoints that should store the given Token.EndpointsForToken
TokenMetadata. getWriteEndpoints(Token token, java.lang.String keyspaceName, EndpointsForToken natural)
Deprecated.retained for benefit of old testsstatic EndpointsForToken
EndpointsForToken. of(Token token, Replica replica)
static EndpointsForToken
EndpointsForToken. of(Token token, Replica... replicas)
EndpointsForToken
PendingRangeMaps. pendingEndpointsFor(Token token)
EndpointsForToken
TokenMetadata. pendingEndpointsForToken(Token token, java.lang.String keyspaceName)
EndpointsForToken
EndpointsForToken.Builder. snapshot()
EndpointsForToken
EndpointsForToken. snapshot()
protected EndpointsForToken
EndpointsForToken. snapshot(AbstractReplicaCollection.ReplicaList newList)
Methods in org.apache.cassandra.locator with parameters of type EndpointsForToken Modifier and Type Method Description static ReplicaLayout.ForTokenWrite
ReplicaLayout. forTokenWrite(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural, EndpointsForToken pending)
static ReplicaPlan.ForTokenWrite
ReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, EndpointsForToken natural, EndpointsForToken pending, java.util.function.Predicate<Replica> isAlive, ReplicaPlans.Selector selector)
ReplicaPlan.ForTokenRead
ReplicaPlan.SharedForTokenRead. getWithContacts(EndpointsForToken newContact)
EndpointsForToken
TokenMetadata. getWriteEndpoints(Token token, java.lang.String keyspaceName, EndpointsForToken natural)
Deprecated.retained for benefit of old testsReplicaPlan.ForTokenWrite
ReplicaPlan.ForTokenWrite. withContact(EndpointsForToken newContact)
Constructors in org.apache.cassandra.locator with parameters of type EndpointsForToken Constructor Description ForTokenRead(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural)
ForTokenRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken candidates, EndpointsForToken contacts)
ForTokenWrite(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural, EndpointsForToken pending)
ForTokenWrite(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural, EndpointsForToken pending, EndpointsForToken all)
ForTokenWrite(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken pending, EndpointsForToken liveAndDown, EndpointsForToken live, EndpointsForToken contact)
-
Uses of EndpointsForToken in org.apache.cassandra.service
Methods in org.apache.cassandra.service that return EndpointsForToken Modifier and Type Method Description EndpointsForToken
StorageService. getNaturalReplicasForToken(java.lang.String keyspaceName, java.lang.String cf, java.lang.String key)
EndpointsForToken
StorageService. getNaturalReplicasForToken(java.lang.String keyspaceName, java.nio.ByteBuffer key)
Methods in org.apache.cassandra.service with parameters of type EndpointsForToken Modifier and Type Method Description static java.util.concurrent.Future<java.lang.Void>
StorageProxy. submitHint(Mutation mutation, EndpointsForToken targets, AbstractWriteResponseHandler<IMutation> responseHandler)
-
Uses of EndpointsForToken in org.apache.cassandra.service.reads
Fields in org.apache.cassandra.service.reads with type parameters of type EndpointsForToken Modifier and Type Field Description protected DigestResolver<EndpointsForToken,ReplicaPlan.ForTokenRead>
AbstractReadExecutor. digestResolver
protected ReadCallback<EndpointsForToken,ReplicaPlan.ForTokenRead>
AbstractReadExecutor. handler
protected ReadRepair<EndpointsForToken,ReplicaPlan.ForTokenRead>
AbstractReadExecutor. readRepair
Methods in org.apache.cassandra.service.reads that return types with arguments of type EndpointsForToken Modifier and Type Method Description ReadRepair<EndpointsForToken,ReplicaPlan.ForTokenRead>
AbstractReadExecutor. getReadRepair()
-