|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SynchronyType> dermi.annotation.SynchronyType
public enum SynchronyType
This enumeration class defines the different blocking policies for Dermi's RPC calls
Enum Constant Summary | |
---|---|
ASYNCHRONOUS
The call does not block |
|
AT_LEAST_ONE
The call unblocks when at least one response is received |
|
SYNCHRONOUS
The call blocks until a specified % of responses are received |
Method Summary | |
---|---|
static SynchronyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SynchronyType[] |
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 SynchronyType SYNCHRONOUS
public static final SynchronyType ASYNCHRONOUS
public static final SynchronyType AT_LEAST_ONE
Method Detail |
---|
public static final SynchronyType[] values()
for(SynchronyType c : SynchronyType.values()) System.out.println(c);
public static SynchronyType 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |