Uses of Interface
org.apache.cassandra.locator.IEndpointSnitch
-
Packages that use IEndpointSnitch Package Description org.apache.cassandra.config org.apache.cassandra.dht org.apache.cassandra.locator -
-
Uses of IEndpointSnitch in org.apache.cassandra.config
Methods in org.apache.cassandra.config that return IEndpointSnitch Modifier and Type Method Description static IEndpointSnitchDatabaseDescriptor. createEndpointSnitch(boolean dynamic, java.lang.String snitchClassName)static IEndpointSnitchDatabaseDescriptor. getEndpointSnitch()Methods in org.apache.cassandra.config with parameters of type IEndpointSnitch Modifier and Type Method Description static voidDatabaseDescriptor. setEndpointSnitch(IEndpointSnitch eps) -
Uses of IEndpointSnitch in org.apache.cassandra.dht
Constructors in org.apache.cassandra.dht with parameters of type IEndpointSnitch Constructor Description RangeStreamer(TokenMetadata metadata, java.util.Collection<Token> tokens, InetAddressAndPort address, StreamOperation streamOperation, boolean useStrictConsistency, IEndpointSnitch snitch, StreamStateStore stateStore, boolean connectSequentially, int connectionsPerHost)SingleDatacenterFilter(IEndpointSnitch snitch, java.lang.String sourceDc) -
Uses of IEndpointSnitch in org.apache.cassandra.locator
Classes in org.apache.cassandra.locator that implement IEndpointSnitch Modifier and Type Class Description classAbstractEndpointSnitchclassAbstractNetworkTopologySnitchAn endpoint snitch tells Cassandra information about network topology that it can use to route requests more efficiently.classAlibabaCloudSnitchA snitch that assumes an ECS region is a DC and an ECS availability_zone is a rack.classCloudstackSnitchA snitch that assumes a Cloudstack Zone follows the typical convention <country>-<location>-<availability zone> and uses the country/location tuple as a datacenter and the availability zone as a rackclassDynamicEndpointSnitchA dynamic snitch that sorts endpoints by latency with an adapted phi failure detectorclassEc2MultiRegionSnitch1) Snitch will automatically set the public IP by querying the AWS API 2) Snitch will set the private IP as a Gossip application state.classEc2SnitchA snitch that assumes an EC2 region is a DC and an EC2 availability_zone is a rack.classGoogleCloudSnitchA snitch that assumes an GCE region is a DC and an GCE availability_zone is a rack.classGossipingPropertyFileSnitchclassPropertyFileSnitchUsed to determine if two IP's are in the same datacenter or on the same rack.classRackInferringSnitchA simple endpoint snitch implementation that assumes datacenter and rack information is encoded in the 2nd and 3rd octets of the ip address, respectively.classSimpleSnitchA 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 IEndpointSnitch Modifier and Type Field Description IEndpointSnitchAbstractReplicationStrategy. snitchIEndpointSnitchDynamicEndpointSnitch. subsnitchMethods in org.apache.cassandra.locator with parameters of type IEndpointSnitch Modifier and Type Method Description static AbstractReplicationStrategyAbstractReplicationStrategy. createReplicationStrategy(java.lang.String keyspaceName, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> strategyOptions)com.google.common.collect.ImmutableMultimap<java.lang.String,InetAddressAndPort>TokenMetadata. getDC2AllEndpoints(IEndpointSnitch snitch)static voidAbstractReplicationStrategy. validateReplicationStrategy(java.lang.String keyspaceName, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> strategyOptions, ClientState state)Constructors in org.apache.cassandra.locator with parameters of type IEndpointSnitch Constructor Description AbstractReplicationStrategy(java.lang.String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)DynamicEndpointSnitch(IEndpointSnitch snitch)DynamicEndpointSnitch(IEndpointSnitch snitch, java.lang.String instance)LocalStrategy(java.lang.String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)NetworkTopologyStrategy(java.lang.String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)ReconnectableSnitchHelper(IEndpointSnitch snitch, java.lang.String localDc, boolean preferLocal)SimpleStrategy(java.lang.String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)TokenMetadata(IEndpointSnitch snitch)
-