public interface ITerminableService
| Modifier and Type | Method and Description |
|---|---|
ITerminableFuture<String> |
getResult(long delay)
Get the result.
|
ITerminableIntermediateFuture<String> |
getResults(long delay,
int max)
Get the results.
|
IIntermediateFuture<Void> |
terminateCalled()
Be informed when one of the other methods futures is terminated.
|
ITerminableFuture<String> getResult(long delay)
delay - The delay that is waited before the result is retured.ITerminableIntermediateFuture<String> getResults(long delay, int max)
delay - The delay that is waited between intermediate results.IIntermediateFuture<Void> terminateCalled()
Copyright © 2013. All Rights Reserved.