public enum ClusterCommands extends Enum<ClusterCommands>
Enum Constant and Description |
---|
InvalidRoute
The InvalidRoute verb is used in a point-to-point message to indicate that the bus was
forwarded a message which it is not or no longer responsible for.
|
MessageForward
The MessageForward verb is used in a point-to-point or global message which encapsulates
a message payload to be forwarded to specific or all buses.
|
NotifyOwner
The NotifyOwner verb is sent in response to a WhoHandles broadcast on a
point-to-point basis, directly back to the sender of the WhoHandles to notify that
the bus is responsible for handling the request session.
|
WhoHandles
The WhoHandles verb is a broadcast message to the cluster that asks all buses who is
responsible for handling the specified session.
|
Modifier and Type | Method and Description |
---|---|
static ClusterCommands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterCommands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterCommands WhoHandles
public static final ClusterCommands NotifyOwner
public static final ClusterCommands MessageForward
public static final ClusterCommands InvalidRoute
public static ClusterCommands[] values()
for (ClusterCommands c : ClusterCommands.values()) System.out.println(c);
public static ClusterCommands 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-2015 JBoss, a division of Red Hat. All Rights Reserved.