public enum SettleTime extends java.lang.Enum<SettleTime>
Enum Constant and Description |
---|
CLIENT_ACK
Application acknowledgement.
|
IMMEDIATE
Message settles immeidately on the sender without any acknowledge.
|
NETWORK_RECEIVE
Settle when the message is received by the network and put into
the prefetch queue.
|
QUEUE_REMOVE
Settles the message when the application removes the message
from its prefetch queue.
|
Modifier and Type | Method and Description |
---|---|
static SettleTime |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SettleTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettleTime IMMEDIATE
public static final SettleTime NETWORK_RECEIVE
public static final SettleTime QUEUE_REMOVE
public static final SettleTime CLIENT_ACK
public static SettleTime[] values()
for (SettleTime c : SettleTime.values()) System.out.println(c);
public static SettleTime 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