Uses of Interface
org.apache.cassandra.locator.IEndpointSnitch
Packages that use IEndpointSnitch
Package
Description
-
Uses of IEndpointSnitch in org.apache.cassandra.config
Methods in org.apache.cassandra.config that return IEndpointSnitchModifier and TypeMethodDescriptionstatic IEndpointSnitchDatabaseDescriptor.createEndpointSnitch(boolean dynamic, String snitchClassName) static IEndpointSnitchDatabaseDescriptor.getEndpointSnitch()Methods in org.apache.cassandra.config with parameters of type IEndpointSnitchModifier and TypeMethodDescriptionstatic voidDatabaseDescriptor.setEndpointSnitch(IEndpointSnitch eps) -
Uses of IEndpointSnitch in org.apache.cassandra.dht
Constructors in org.apache.cassandra.dht with parameters of type IEndpointSnitchModifierConstructorDescriptionRangeStreamer(TokenMetadata metadata, Collection<Token> tokens, InetAddressAndPort address, StreamOperation streamOperation, boolean useStrictConsistency, IEndpointSnitch snitch, StreamStateStore stateStore, boolean connectSequentially, int connectionsPerHost) SingleDatacenterFilter(IEndpointSnitch snitch, String sourceDc) -
Uses of IEndpointSnitch in org.apache.cassandra.locator
Classes in org.apache.cassandra.locator that implement IEndpointSnitchModifier and TypeClassDescriptionclassclassAn endpoint snitch tells Cassandra information about network topology that it can use to route requests more efficiently.classA snitch that assumes an ECS region is a DC and an ECS availability_zone is a rack.classAzureSnitch will resolve datacenter and rack by calling/metadata/instance/computeendpoint returning the response in JSON format for API version2021-12-13.classDeprecated.See CASSANDRA-18438classA dynamic snitch that sorts endpoints by latency with an adapted phi failure detectorclass1) Snitch will automatically set the public IP by querying the AWS API 2) Snitch will set the private IP as a Gossip application state.classA snitch that assumes an EC2 region is a DC and an EC2 availability_zone is a rack.classA snitch that assumes an GCE region is a DC and an GCE availability_zone is a rack.classclassUsed to determine if two IP's are in the same datacenter or on the same rack.classA simple endpoint snitch implementation that assumes datacenter and rack information is encoded in the 2nd and 3rd octets of the ip address, respectively.classA simple endpoint snitch implementation that treats Strategy order as proximity, allowing non-read-repaired reads to prefer a single endpoint, which improves cache locality.Fields in org.apache.cassandra.locator declared as IEndpointSnitchModifier and TypeFieldDescriptionAbstractReplicationStrategy.snitchfinal IEndpointSnitchDynamicEndpointSnitch.subsnitchMethods in org.apache.cassandra.locator with parameters of type IEndpointSnitchModifier and TypeMethodDescriptionstatic AbstractReplicationStrategyAbstractReplicationStrategy.createReplicationStrategy(String keyspaceName, Class<? extends AbstractReplicationStrategy> strategyClass, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map<String, String> strategyOptions) com.google.common.collect.ImmutableMultimap<String,InetAddressAndPort> TokenMetadata.getDC2AllEndpoints(IEndpointSnitch snitch) static voidAbstractReplicationStrategy.validateReplicationStrategy(String keyspaceName, Class<? extends AbstractReplicationStrategy> strategyClass, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map<String, String> strategyOptions, ClientState state) Constructors in org.apache.cassandra.locator with parameters of type IEndpointSnitchModifierConstructorDescriptionprotectedAbstractReplicationStrategy(String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map<String, String> configOptions) DynamicEndpointSnitch(IEndpointSnitch snitch) DynamicEndpointSnitch(IEndpointSnitch snitch, String instance) LocalStrategy(String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map<String, String> configOptions) NetworkTopologyStrategy(String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map<String, String> configOptions) ReconnectableSnitchHelper(IEndpointSnitch snitch, String localDc, boolean preferLocal) SimpleStrategy(String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map<String, String> configOptions) TokenMetadata(IEndpointSnitch snitch) -
Uses of IEndpointSnitch in org.apache.cassandra.repair
Methods in org.apache.cassandra.repair that return IEndpointSnitch