org.jgroups
Enum Message.Flag

java.lang.Object
  extended by java.lang.Enum<Message.Flag>
      extended by org.jgroups.Message.Flag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Message.Flag>
Enclosing class:
Message

public static enum Message.Flag
extends java.lang.Enum<Message.Flag>


Enum Constant Summary
DONT_BUNDLE
           
NO_FC
           
NO_RELAY
           
NO_RELIABILITY
           
NO_TOTAL_ORDER
           
OOB
           
RSVP
           
SCOPED
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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

SCOPED

public static final Message.Flag SCOPED

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
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 name
java.lang.NullPointerException - if the argument is null

value

public short value()


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.