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 classEndpointsForToken.BuilderMethods in org.apache.cassandra.locator that return EndpointsForToken Modifier and Type Method Description EndpointsForTokenEndpointsForToken.Builder. build()static EndpointsForTokenEndpointsForToken. copyOf(Token token, java.lang.Iterable<Replica> replicas)static EndpointsForTokenEndpointsForToken. copyOf(Token token, java.util.Collection<Replica> replicas)static EndpointsForTokenEndpointsForToken. empty(Token token)EndpointsForTokenEndpointsForRange. forToken(Token token)EndpointsForTokenAbstractReplicationStrategy. getNaturalReplicasForToken(RingPosition<?> searchPosition)get the (possibly cached) endpoints that should store the given Token.EndpointsForTokenTokenMetadata. getWriteEndpoints(Token token, java.lang.String keyspaceName, EndpointsForToken natural)Deprecated.retained for benefit of old testsEndpointsForTokenReplicaPlan.ForWrite. live()The live replicas present in liveAndDown, usually derived from FailureDetector.isReplicaAliveEndpointsForTokenReplicaPlan.ForWrite. liveAndDown()Replicas that can participate in the write - this always includes all nodes (pending and natural) in all DCs, except for paxos LOCAL_QUORUM (which is local DC only)EndpointsForTokenReplicaPlan.ForWrite. liveUncontacted()Calculate which live endpoints we could have contacted, but chose not tostatic EndpointsForTokenEndpointsForToken. natural(Keyspace keyspace, Token token)static EndpointsForTokenEndpointsForToken. natural(AbstractReplicationStrategy replicationStrategy, Token token)static EndpointsForTokenEndpointsForToken. natural(TableMetadata table, Token token)static EndpointsForTokenEndpointsForToken. of(Token token, Replica replica)static EndpointsForTokenEndpointsForToken. of(Token token, Replica... replicas)static EndpointsForTokenEndpointsForToken. pending(java.lang.String keyspace, Token token)static EndpointsForTokenEndpointsForToken. pending(Keyspace keyspace, Token token)static EndpointsForTokenEndpointsForToken. pending(TableMetadata table, Token token)EndpointsForTokenReplicaPlan.ForWrite. pending()Replicas that a region of the ring is moving to; not yet ready to serve reads, but should receive writesEndpointsForTokenPendingRangeMaps. pendingEndpointsFor(Token token)EndpointsForTokenTokenMetadata. pendingEndpointsForToken(Token token, java.lang.String keyspaceName)EndpointsForTokenEndpointsForToken.Builder. snapshot()EndpointsForTokenEndpointsForToken. snapshot()protected EndpointsForTokenEndpointsForToken. snapshot(AbstractReplicaCollection.ReplicaList newList)Methods in org.apache.cassandra.locator with parameters of type EndpointsForToken Modifier and Type Method Description static ReplicaLayout.ForTokenWriteReplicaLayout. forTokenWrite(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural, EndpointsForToken pending)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, EndpointsForToken natural, EndpointsForToken pending, java.util.function.Predicate<Replica> isAlive, ReplicaPlans.Selector selector)EndpointsForTokenTokenMetadata. getWriteEndpoints(Token token, java.lang.String keyspaceName, EndpointsForToken natural)Deprecated.retained for benefit of old testsReplicaPlan.ForTokenReadReplicaPlan.ForTokenRead. withContacts(EndpointsForToken newContact)ReplicaPlan.ForWriteReplicaPlan.ForWrite. withContacts(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)ForWrite(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 EndpointsForTokenStorageService. getNaturalReplicasForToken(java.lang.String keyspaceName, java.lang.String cf, java.lang.String key)EndpointsForTokenStorageService. getNaturalReplicasForToken(java.lang.String keyspaceName, java.nio.ByteBuffer key) -
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. digestResolverprotected ReadCallback<EndpointsForToken,ReplicaPlan.ForTokenRead>AbstractReadExecutor. handlerprotected ReadRepair<EndpointsForToken,ReplicaPlan.ForTokenRead>AbstractReadExecutor. readRepairMethods 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()
-