public class MultiCallCollector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MultiCallCollector.SubCallBackHandler
An instance of this class is used as a call handler for each subcall.
|
Constructor and Description |
---|
MultiCallCollector(int aNumberOfCalls) |
Modifier and Type | Method and Description |
---|---|
CallBackHandler |
createSubCallHandler(String id) |
Exception |
getReturnException(String id) |
Object |
getReturnValue(String id) |
boolean |
isError(String id) |
boolean |
isFinished() |
boolean |
isSuccess(String id) |
protected void |
notifySubCallFinished() |
void |
waitForResults() |
void |
waitForResults(long timeout) |
public void waitForResults(long timeout) throws InterruptedException
InterruptedException
public void waitForResults() throws InterruptedException
InterruptedException
public boolean isFinished()
public CallBackHandler createSubCallHandler(String id)
protected void notifySubCallFinished()
public boolean isError(String id)
public boolean isSuccess(String id)
Copyright © 2010-2014 anotheria.net. All Rights Reserved.