Uses of Interface org.apache.cassandra.locator.IEndpointSnitch (apache-cassandra API)
Date: 2012-05-04

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.cassandra.locator.IEndpointSnitch

Packages that use IEndpointSnitch
org.apache.cassandra.config |
org.apache.cassandra.locator |

Uses of IEndpointSnitch in org.apache.cassandra.config

Methods in org.apache.cassandra.config that return IEndpointSnitch
`static IEndpointSnitch` | `DatabaseDescriptor.getEndpointSnitch()`

Methods in org.apache.cassandra.config with parameters of type IEndpointSnitch
`static void` | `DatabaseDescriptor.setEndpointSnitch(IEndpointSnitch eps)`

Uses of IEndpointSnitch in org.apache.cassandra.locator

Classes in org.apache.cassandra.locator that implement IEndpointSnitch
`class` | `AbstractEndpointSnitch`
`class` | `AbstractNetworkTopologySnitch` An endpoint snitch tells Cassandra information about network topology that it can use to route requests more efficiently.
`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` | `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.

Fields in org.apache.cassandra.locator declared as IEndpointSnitch
`IEndpointSnitch` | `AbstractReplicationStrategy.snitch`
`IEndpointSnitch` | `DynamicEndpointSnitch.subsnitch`

Methods in org.apache.cassandra.locator with parameters of type IEndpointSnitch
`static AbstractReplicationStrategy` | `AbstractReplicationStrategy.createReplicationStrategy(java.lang.String table, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> strategyOptions)`
`static AbstractReplicationStrategy` | `AbstractReplicationStrategy.createReplicationStrategy(java.lang.String table, java.lang.String strategyClassName, 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
`DynamicEndpointSnitch(IEndpointSnitch snitch)`
`LocalStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`
`NetworkTopologyStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`
`OldNetworkTopologyStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`
`SimpleStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2012 The Apache Software Foundation