org.apache.cassandra.locator
Interface DynamicEndpointSnitchMBean
- All Known Implementing Classes:
- DynamicEndpointSnitch
public interface DynamicEndpointSnitchMBean
getScores
java.util.Map<java.net.InetAddress,java.lang.Double> getScores()
getUpdateInterval
int getUpdateInterval()
getResetInterval
int getResetInterval()
getBadnessThreshold
double getBadnessThreshold()
getSubsnitchClassName
java.lang.String getSubsnitchClassName()
dumpTimings
java.util.List<java.lang.Double> dumpTimings(java.lang.String hostname)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
setSeverity
void setSeverity(double severity)
- Use this if you want to specify a severity it can be -ve
Example: Page cache is cold and you want data to be sent
though it is not preferred one.
getSeverity
double getSeverity()
Copyright © 2012 The Apache Software Foundation