public static enum BackOffer.BackOffStrategy extends Enum<BackOffer.BackOffStrategy>
Enum Constant and Description |
---|
DecorrJitter |
EqualJitter |
FullJitter |
NoJitter |
Modifier and Type | Method and Description |
---|---|
static BackOffer.BackOffStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackOffer.BackOffStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackOffer.BackOffStrategy NoJitter
public static final BackOffer.BackOffStrategy FullJitter
public static final BackOffer.BackOffStrategy EqualJitter
public static final BackOffer.BackOffStrategy DecorrJitter
public static BackOffer.BackOffStrategy[] values()
for (BackOffer.BackOffStrategy c : BackOffer.BackOffStrategy.values()) System.out.println(c);
public static BackOffer.BackOffStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 PingCAP. All rights reserved.