Package | Description |
---|---|
org.apache.cassandra.config | |
org.apache.cassandra.dht | |
org.apache.cassandra.locator |
Modifier and Type | Method and Description |
---|---|
static IEndpointSnitch |
DatabaseDescriptor.getEndpointSnitch() |
Modifier and Type | Method and Description |
---|---|
static void |
DatabaseDescriptor.setEndpointSnitch(IEndpointSnitch eps) |
Constructor and Description |
---|
SingleDatacenterFilter(IEndpointSnitch snitch,
java.lang.String sourceDc) |
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
|
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.
|
Modifier and Type | Field and Description |
---|---|
IEndpointSnitch |
AbstractReplicationStrategy.snitch |
IEndpointSnitch |
DynamicEndpointSnitch.subsnitch |
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) |
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 © 2020 The Apache Software Foundation