|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.Decision
Returned to the cluster stub by methods of a Distributor
to
tell what to do.
Field Summary | |
int |
decision
Chosen Decision |
static int |
RETRY
Decision : retry |
static int |
RETURN
Decision : return a value |
java.lang.Object |
retVal
Value associated with return decision |
static int |
THROW
Decision : throw an exception |
Method Summary | |
static Decision |
doRetry()
Creates a retry decision |
static Decision |
doReturn(java.lang.Object retVal)
Creates a return decision |
static Decision |
doThrow()
Creates a throw decision |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RETURN
public static final int RETRY
public static final int THROW
public int decision
public java.lang.Object retVal
Method Detail |
public static Decision doRetry()
public static Decision doThrow()
public static Decision doReturn(java.lang.Object retVal)
retVal
- the value to return
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |