Class FixedSpeculativeRetryPolicy
- java.lang.Object
-
- org.apache.cassandra.service.reads.FixedSpeculativeRetryPolicy
-
- All Implemented Interfaces:
SpeculativeRetryPolicy
public class FixedSpeculativeRetryPolicy extends java.lang.Object implements SpeculativeRetryPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.service.reads.SpeculativeRetryPolicy
SpeculativeRetryPolicy.Kind
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcalculateThreshold(com.codahale.metrics.Snapshot latency, long existingValue)booleanequals(java.lang.Object obj)inthashCode()SpeculativeRetryPolicy.Kindkind()java.lang.StringtoString()
-
-
-
Method Detail
-
calculateThreshold
public long calculateThreshold(com.codahale.metrics.Snapshot latency, long existingValue)- Specified by:
calculateThresholdin interfaceSpeculativeRetryPolicy
-
kind
public SpeculativeRetryPolicy.Kind kind()
- Specified by:
kindin interfaceSpeculativeRetryPolicy
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-