Interface SpeculativeRetryPolicy
-
- All Known Implementing Classes:
AlwaysSpeculativeRetryPolicy
,FixedSpeculativeRetryPolicy
,HybridSpeculativeRetryPolicy
,NeverSpeculativeRetryPolicy
,PercentileSpeculativeRetryPolicy
public interface SpeculativeRetryPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SpeculativeRetryPolicy.Kind
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description long
calculateThreshold(com.codahale.metrics.Snapshot latency, long existingValue)
static SpeculativeRetryPolicy
fromString(java.lang.String str)
SpeculativeRetryPolicy.Kind
kind()
-
-
-
Method Detail
-
calculateThreshold
long calculateThreshold(com.codahale.metrics.Snapshot latency, long existingValue)
-
kind
SpeculativeRetryPolicy.Kind kind()
-
fromString
static SpeculativeRetryPolicy fromString(java.lang.String str)
-
-