public final class SpeculativeRetryParam
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SpeculativeRetryParam.Kind |
| Modifier and Type | Field and Description |
|---|---|
static SpeculativeRetryParam |
ALWAYS |
static SpeculativeRetryParam |
DEFAULT |
static SpeculativeRetryParam |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static SpeculativeRetryParam |
always() |
static SpeculativeRetryParam |
custom(double value) |
boolean |
equals(java.lang.Object o) |
static SpeculativeRetryParam |
fromString(java.lang.String value) |
int |
hashCode() |
SpeculativeRetryParam.Kind |
kind() |
static SpeculativeRetryParam |
none() |
static SpeculativeRetryParam |
percentile(double value) |
double |
threshold() |
java.lang.String |
toString() |
public static final SpeculativeRetryParam NONE
public static final SpeculativeRetryParam ALWAYS
public static final SpeculativeRetryParam DEFAULT
public SpeculativeRetryParam.Kind kind()
public double threshold()
public static SpeculativeRetryParam none()
public static SpeculativeRetryParam always()
public static SpeculativeRetryParam custom(double value)
public static SpeculativeRetryParam percentile(double value)
public static SpeculativeRetryParam fromString(java.lang.String value)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation