Uses of Class
org.apache.cassandra.locator.EndpointsForToken
Packages that use EndpointsForToken
Package
Description
-
Uses of EndpointsForToken in org.apache.cassandra.locator
Subclasses of EndpointsForToken in org.apache.cassandra.locatorMethods in org.apache.cassandra.locator that return EndpointsForTokenModifier and TypeMethodDescriptionEndpointsForToken.Builder.build()static EndpointsForTokenstatic EndpointsForTokenEndpointsForToken.copyOf(Token token, Collection<Replica> replicas) static EndpointsForTokenAbstractReplicationStrategy.getNaturalReplicasForToken(RingPosition<?> searchPosition) get the (possibly cached) endpoints that should store the given Token.TokenMetadata.getWriteEndpoints(Token token, String keyspaceName, EndpointsForToken natural) Deprecated.retained for benefit of old testsReplicaPlan.ForWrite.live()The live replicas present in liveAndDown, usually derived from FailureDetector.isReplicaAliveReplicaPlan.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)ReplicaPlan.ForWrite.liveUncontacted()Calculate which live endpoints we could have contacted, but chose not tostatic EndpointsForTokenstatic EndpointsForTokenEndpointsForToken.natural(AbstractReplicationStrategy replicationStrategy, Token token) static EndpointsForTokenEndpointsForToken.natural(TableMetadata table, Token token) static EndpointsForTokenstatic EndpointsForTokenstatic EndpointsForTokenstatic EndpointsForTokenstatic EndpointsForTokenEndpointsForToken.pending(TableMetadata table, Token token) ReplicaPlan.ForWrite.pending()Replicas that a region of the ring is moving to; not yet ready to serve reads, but should receive writesPendingRangeMaps.pendingEndpointsFor(Token token) TokenMetadata.pendingEndpointsForToken(Token token, String keyspaceName) EndpointsForToken.Builder.snapshot()EndpointsForToken.snapshot()protected EndpointsForTokenEndpointsForToken.snapshot(AbstractReplicaCollection.ReplicaList newList) Methods in org.apache.cassandra.locator with parameters of type EndpointsForTokenModifier and TypeMethodDescriptionstatic ReplicaLayout.ForTokenWriteReplicaLayout.forTokenWrite(AbstractReplicationStrategy replicationStrategy, EndpointsForToken natural, EndpointsForToken pending) static ReplicaPlan.ForWriteReplicaPlans.forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, EndpointsForToken natural, EndpointsForToken pending, Predicate<Replica> isAlive, ReplicaPlans.Selector selector) TokenMetadata.getWriteEndpoints(Token token, String keyspaceName, EndpointsForToken natural) Deprecated.retained for benefit of old testsReplicaPlan.ForTokenRead.withContacts(EndpointsForToken newContact) ReplicaPlan.ForWrite.withContacts(EndpointsForToken newContact) Constructors in org.apache.cassandra.locator with parameters of type EndpointsForTokenModifierConstructorDescriptionForTokenRead(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 EndpointsForTokenModifier and TypeMethodDescriptionStorageService.getNaturalReplicasForToken(String keyspaceName, String cf, String key) StorageService.getNaturalReplicasForToken(String keyspaceName, ByteBuffer key) -
Uses of EndpointsForToken in org.apache.cassandra.service.reads
Fields in org.apache.cassandra.service.reads with type parameters of type EndpointsForTokenModifier and TypeFieldDescriptionprotected final DigestResolver<EndpointsForToken,ReplicaPlan.ForTokenRead> AbstractReadExecutor.digestResolverprotected final ReadCallback<EndpointsForToken,ReplicaPlan.ForTokenRead> AbstractReadExecutor.handlerprotected final ReadRepair<EndpointsForToken,ReplicaPlan.ForTokenRead> AbstractReadExecutor.readRepairMethods in org.apache.cassandra.service.reads that return types with arguments of type EndpointsForToken