Package org.jgroups
Enum Message.Flag
- java.lang.Object
-
- java.lang.Enum<Message.Flag>
-
- org.jgroups.Message.Flag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Message.Flag>
- Enclosing interface:
- Message
public static enum Message.Flag extends java.lang.Enum<Message.Flag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONT_BUNDLE
NO_FC
NO_RELAY
NO_RELIABILITY
NO_TOTAL_ORDER
OOB
RSVP
RSVP_NB
SERIALIZED
SKIP_BARRIER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description short
value()
static Message.Flag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Message.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OOB
public static final Message.Flag OOB
-
DONT_BUNDLE
public static final Message.Flag DONT_BUNDLE
-
NO_FC
public static final Message.Flag NO_FC
-
NO_RELIABILITY
public static final Message.Flag NO_RELIABILITY
-
NO_TOTAL_ORDER
public static final Message.Flag NO_TOTAL_ORDER
-
NO_RELAY
public static final Message.Flag NO_RELAY
-
RSVP
public static final Message.Flag RSVP
-
RSVP_NB
public static final Message.Flag RSVP_NB
-
SKIP_BARRIER
public static final Message.Flag SKIP_BARRIER
-
SERIALIZED
public static final Message.Flag SERIALIZED
-
-
Method Detail
-
values
public static Message.Flag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Message.Flag c : Message.Flag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Message.Flag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public short value()
-
-