@PublicEvolving public static enum ExecutionConfigOptions.RetryStrategy extends Enum<ExecutionConfigOptions.RetryStrategy>
Enum Constant and Description |
---|
FIXED_DELAY
A fixed delay before retrying again.
|
NO_RETRY
When a failure occurs, don't retry.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionConfigOptions.RetryStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionConfigOptions.RetryStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionConfigOptions.RetryStrategy NO_RETRY
public static final ExecutionConfigOptions.RetryStrategy FIXED_DELAY
public static ExecutionConfigOptions.RetryStrategy[] values()
for (ExecutionConfigOptions.RetryStrategy c : ExecutionConfigOptions.RetryStrategy.values()) System.out.println(c);
public static ExecutionConfigOptions.RetryStrategy 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–2024 The Apache Software Foundation. All rights reserved.