@PublicEvolving public enum FlushBackoffType extends Enum<FlushBackoffType>
Enum Constant and Description |
---|
CONSTANT
After every failure, it waits a configured time until the retries are exhausted.
|
EXPONENTIAL
After every failure, it waits initially the configured time and increases the waiting time
exponentially until the retries are exhausted.
|
NONE
The failure is not retried.
|
Modifier and Type | Method and Description |
---|---|
static FlushBackoffType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlushBackoffType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushBackoffType CONSTANT
public static final FlushBackoffType EXPONENTIAL
public static final FlushBackoffType NONE
public static FlushBackoffType[] values()
for (FlushBackoffType c : FlushBackoffType.values()) System.out.println(c);
public static FlushBackoffType 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 © 2014–2023 The Apache Software Foundation. All rights reserved.