|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlime.Lock
lime.Result
lime.ResultReactions
Result will hold either a tuple or the response to the installation of the reaction (an array of objects). By extending lock, we have the ability to suspend and resume a thread on a result object.
Field Summary | |
(package private) java.lang.Object |
value
|
Constructor Summary | |
(package private) |
ResultReactions()
|
Method Summary | |
(package private) RegisteredReaction[] |
getReactions()
|
(package private) void |
hold()
hold: Suspend the thread on this instance of this object. |
(package private) void |
release()
release: resume the thread suspended on this object. |
(package private) void |
setReactions(RegisteredReaction[] reactions)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.Object value
Constructor Detail |
ResultReactions()
Method Detail |
RegisteredReaction[] getReactions()
void setReactions(RegisteredReaction[] reactions)
void hold()
void release()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |