Uses of Interface
org.apache.cassandra.locator.ReplicaCollection
Packages that use ReplicaCollection
Package
Description
-
Uses of ReplicaCollection in org.apache.cassandra.dht
Methods in org.apache.cassandra.dht with parameters of type ReplicaCollectionModifier and TypeMethodDescriptionvoidRangeStreamer.addRanges(String keyspaceName, ReplicaCollection<?> replicas) Add ranges to be streamed for given keyspace.static EndpointsByReplicaRangeStreamer.calculateRangesToFetchWithPreferredEndpoints(BiFunction<InetAddressAndPort, EndpointsForRange, EndpointsForRange> snitchGetSortedListByProximity, AbstractReplicationStrategy strat, ReplicaCollection<?> fetchRanges, boolean useStrictConsistency, TokenMetadata tmdBefore, TokenMetadata tmdAfter, String keyspace, Collection<RangeStreamer.SourceFilter> sourceFilters) Get a map of all ranges and the source that will be cleaned up once this bootstrapped node is added for the given ranges. -
Uses of ReplicaCollection in org.apache.cassandra.locator
Classes in org.apache.cassandra.locator with type parameters of type ReplicaCollectionModifier and TypeInterfaceDescriptioninterfaceReplicaCollection<C extends ReplicaCollection<C>>A collection like class for Replica objects.static interfaceReplicaCollection.Builder<C extends ReplicaCollection<C>>A mutable (append-only) extension of a ReplicaCollection.classReplicaMultimap<K,C extends ReplicaCollection<?>> Subinterfaces of ReplicaCollection in org.apache.cassandra.locatorModifier and TypeInterfaceDescriptionstatic interfaceReplicaCollection.Builder<C extends ReplicaCollection<C>>A mutable (append-only) extension of a ReplicaCollection.Classes in org.apache.cassandra.locator that implement ReplicaCollectionModifier and TypeClassDescriptionclassAbstractReplicaCollection<C extends AbstractReplicaCollection<C>>A collection like class for Replica objects.classA collection of Endpoints for a given ring position.classA ReplicaCollection where all Replica are required to cover a range that fully contains the range() defined in the builder().static classclassA ReplicaCollection where all Replica are required to cover a range that fully contains the token() defined in the builder().static classclassA ReplicaCollection for Ranges occurring at an endpoint.static classMethods in org.apache.cassandra.locator with type parameters of type ReplicaCollectionModifier and TypeMethodDescriptionstatic <C extends ReplicaCollection<C>,B extends ReplicaCollection.Builder<C>>
Collector<Replica,B, C> AbstractReplicaCollection.collector(Set<Collector.Characteristics> characteristics, Supplier<B> supplier) <C extends ReplicaCollection<? extends C>>
CAbstractEndpointSnitch.sortedByProximity(InetAddressAndPort address, C unsortedAddress) Sorts the Collection of node addresses by proximity to the given address<C extends ReplicaCollection<? extends C>>
CDynamicEndpointSnitch.sortedByProximity(InetAddressAndPort address, C unsortedAddresses) <C extends ReplicaCollection<? extends C>>
CIEndpointSnitch.sortedByProximity(InetAddressAndPort address, C addresses) returns a new List sorted by proximity to the given endpoint<C extends ReplicaCollection<? extends C>>
CSimpleSnitch.sortedByProximity(InetAddressAndPort address, C unsortedAddress) Methods in org.apache.cassandra.locator with parameters of type ReplicaCollectionModifier and TypeMethodDescriptionstatic intReplicas.countFull(ReplicaCollection<?> replicas) static Replicas.ReplicaCountReplicas.countInOurDc(ReplicaCollection<?> replicas) booleanAbstractEndpointSnitch.isWorthMergingForRangeQuery(ReplicaCollection<?> merged, ReplicaCollection<?> l1, ReplicaCollection<?> l2) booleanDynamicEndpointSnitch.isWorthMergingForRangeQuery(ReplicaCollection<?> merged, ReplicaCollection<?> l1, ReplicaCollection<?> l2) booleanIEndpointSnitch.isWorthMergingForRangeQuery(ReplicaCollection<?> merged, ReplicaCollection<?> l1, ReplicaCollection<?> l2) Returns whether for a range query doing a query against merged is likely to be faster than 2 sequential queries, one against l1 followed by one against l2.Replicas.stringify(ReplicaCollection<?> replicas, boolean withPort) -
Uses of ReplicaCollection in org.apache.cassandra.service.reads
Methods in org.apache.cassandra.service.reads with parameters of type ReplicaCollectionModifier and TypeMethodDescriptionprotected voidAbstractReadExecutor.makeFullDataRequests(ReplicaCollection<?> replicas)