Uses of Interface org.apache.cassandra.locator.IEndpointSnitch (apache-cassandra API)
Date: 2014-10-21

## 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 and Description
    --- | ---
    `static IEndpointSnitch` | DatabaseDescriptor.`getEndpointSnitch()`

    Methods in org.apache.cassandra.config with parameters of type IEndpointSnitch
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DatabaseDescriptor.`setEndpointSnitch(IEndpointSnitch eps)`

  - ### Uses of IEndpointSnitch in org.apache.cassandra.dht

    Constructors in org.apache.cassandra.dht with parameters of type IEndpointSnitch
    Constructor and Description
    `RangeStreamer.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 and Description
    --- | ---
    `class` | `AbstractEndpointSnitch`
    `class` | `AbstractNetworkTopologySnitch` An endpoint snitch tells Cassandra information about network topology that it can use to route requests more efficiently.
    `class` | `CloudstackSnitch` A snitch that assumes a Cloudstack Zone follows the typical convention -- and uses the country/location tuple as a datacenter and the availability zone as a rack
    `class` | `DynamicEndpointSnitch` A dynamic snitch that sorts endpoints by latency with an adapted phi failure detector
    `class` | `Ec2MultiRegionSnitch` 1) Snitch will automatically set the public IP by querying the AWS API 2) Snitch will set the private IP as a Gossip application state.
    `class` | `Ec2Snitch` A snitch that assumes an EC2 region is a DC and an EC2 availability_zone is a rack.
    `class` | `GoogleCloudSnitch` A snitch that assumes an GCE region is a DC and an GCE availability_zone is a rack.
    `class` | `GossipingPropertyFileSnitch`
    `class` | `PropertyFileSnitch` Used to determine if two IP's are in the same datacenter or on the same rack.
    `class` | `RackInferringSnitch` A simple endpoint snitch implementation that assumes datacenter and rack information is encoded in the 2nd and 3rd octets of the ip address, respectively.
    `class` | `SimpleSnitch` A simple endpoint snitch implementation that treats Strategy order as proximity, allowing non-read-repaired reads to prefer a single endpoint, which improves cache locality.
    `class` | `YamlFileNetworkTopologySnitch` Network topology snitch that reads its configuration from a YAML file.

    Fields in org.apache.cassandra.locator declared as IEndpointSnitch
    Modifier and Type | Field and Description
    --- | ---
    `IEndpointSnitch` | AbstractReplicationStrategy.`snitch`
    `IEndpointSnitch` | DynamicEndpointSnitch.`subsnitch`

    Methods in org.apache.cassandra.locator with parameters of type IEndpointSnitch
    Modifier and Type | Method and Description
    --- | ---
    `static AbstractReplicationStrategy` | AbstractReplicationStrategy.`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)`
    `static void` | AbstractReplicationStrategy.`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)`

    Constructors in org.apache.cassandra.locator with parameters of type IEndpointSnitch
    Constructor and Description
    `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)`
    `OldNetworkTopologyStrategy(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)`

Copyright © 2014 The Apache Software Foundation