public static enum ExponentialBackOffTrigger.DelayType extends java.lang.Enum<ExponentialBackOffTrigger.DelayType>
Enum Constant and Description |
---|
FROM_PREVIOUS_EXECUTION_BEGIN
Calculate delay from the start of the previous execution.
|
FROM_PREVIOUS_EXECUTION_COMPLETION
Calculate delay from the completion of the previous execution.
|
FROM_PREVIOUS_SCHEDULING
Calculate delay from the previous time the task was scheduled.
|
Modifier and Type | Method and Description |
---|---|
static ExponentialBackOffTrigger.DelayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExponentialBackOffTrigger.DelayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExponentialBackOffTrigger.DelayType FROM_PREVIOUS_SCHEDULING
public static final ExponentialBackOffTrigger.DelayType FROM_PREVIOUS_EXECUTION_BEGIN
public static final ExponentialBackOffTrigger.DelayType FROM_PREVIOUS_EXECUTION_COMPLETION
public static ExponentialBackOffTrigger.DelayType[] values()
for (ExponentialBackOffTrigger.DelayType c : ExponentialBackOffTrigger.DelayType.values()) System.out.println(c);
public static ExponentialBackOffTrigger.DelayType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null