|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MethodSemantics> jgroup.relacs.gmi.MethodSemantics
public enum MethodSemantics
Enumeration of the supported method invocation semantics.
Enum Constant Summary | |
---|---|
ANYCAST
|
|
ATOMIC
|
|
INTERNAL
|
|
LEADERCAST
|
|
MULTICAST
|
Method Summary | |
---|---|
java.lang.Class |
getProtocol()
Returns the protocol class object associated with this method semantics (or protocol annotation type). |
static MethodSemantics |
valueOf(int ordinal)
Returns the MethodSemantics object for the given ordinal. |
static MethodSemantics |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MethodSemantics[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MethodSemantics ANYCAST
public static final MethodSemantics LEADERCAST
public static final MethodSemantics MULTICAST
public static final MethodSemantics ATOMIC
public static final MethodSemantics INTERNAL
Method Detail |
---|
public static final MethodSemantics[] values()
for(MethodSemantics c : MethodSemantics.values()) System.out.println(c);
public static MethodSemantics 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 namepublic java.lang.Class getProtocol() throws JgroupException
JgroupException
- Raised if this protocol has no implementation class.public static MethodSemantics valueOf(int ordinal)
MethodSemantics
object for the given ordinal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |