|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mandala.rami.impl.ResultsGrouper
Groups asynchronous method invocation results.
Callback
,
AsynchronousReference
,
CallbackManager
,
Serialized FormNested Class Summary | |
class |
ResultsGrouper.TerminatedCall
|
Field Summary | |
protected java.util.LinkedList |
list
The results list. |
Constructor Summary | |
ResultsGrouper()
Creates a new ResultsGrouper instance. |
Method Summary | |
void |
done(InvocationInfo invocationInfo,
MethodResult methodResult)
This method is called once an asynchronous method invocation had been considered terminated. |
java.lang.String |
toString()
|
ResultsGrouper.TerminatedCall |
waitFirst()
|
ResultsGrouper.TerminatedCall[] |
waitFirst(int n)
|
ResultsGrouper.TerminatedCall[] |
waitFirst(int n,
long timeout)
|
ResultsGrouper.TerminatedCall |
waitFirst(long timeout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.LinkedList list
The results list.
Constructor Detail |
public ResultsGrouper()
Creates a new ResultsGrouper
instance.
Method Detail |
public void done(InvocationInfo invocationInfo, MethodResult methodResult)
Callback
This method is called once an asynchronous method invocation had been considered terminated.
done
in interface Callback
invocationInfo
- the invocationInfo
object
representing informations on the asychronous method invocation.methodResult
- the MethodResult
object
representing the result of the asychronous method invocation.InvocationInfo
,
MethodResult
public ResultsGrouper.TerminatedCall waitFirst() throws java.lang.InterruptedException
java.lang.InterruptedException
public ResultsGrouper.TerminatedCall waitFirst(long timeout) throws TimedOutException, java.lang.InterruptedException
TimedOutException
java.lang.InterruptedException
public ResultsGrouper.TerminatedCall[] waitFirst(int n) throws java.lang.InterruptedException
java.lang.InterruptedException
public ResultsGrouper.TerminatedCall[] waitFirst(int n, long timeout) throws TimedOutException, java.lang.InterruptedException
TimedOutException
java.lang.InterruptedException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |