public static enum TimeoutPolicy.TimeoutPolicyType extends Enum<TimeoutPolicy.TimeoutPolicyType>
Enum Constant and Description |
---|
COMPOUND
The timeout is extended based on the latest message.
|
MAINTAIN
The timeout is unaffected by new messages.
|
RESET
The timeout is reset based on the latest message (but not made
earlier).
|
Modifier and Type | Method and Description |
---|---|
static TimeoutPolicy.TimeoutPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeoutPolicy.TimeoutPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeoutPolicy.TimeoutPolicyType MAINTAIN
public static final TimeoutPolicy.TimeoutPolicyType COMPOUND
public static final TimeoutPolicy.TimeoutPolicyType RESET
public static TimeoutPolicy.TimeoutPolicyType[] values()
for (TimeoutPolicy.TimeoutPolicyType c : TimeoutPolicy.TimeoutPolicyType.values()) System.out.println(c);
public static TimeoutPolicy.TimeoutPolicyType 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 © 2013. All rights reserved.