T - The type being collected and discarded.public class CollectAndDiscardHelper<T> extends Object implements FutureDone<T>
AsyncFramework.collectAndDiscard(Collection).| Constructor and Description |
|---|
CollectAndDiscardHelper(int size,
ResolvableFuture<Void> target) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled() |
void |
failed(Throwable e) |
void |
resolved(T result) |
public CollectAndDiscardHelper(int size,
ResolvableFuture<Void> target)
public void failed(Throwable e) throws Exception
failed in interface FutureDone<T>Exceptionpublic void resolved(T result) throws Exception
resolved in interface FutureDone<T>Exceptionpublic void cancelled()
throws Exception
cancelled in interface FutureDone<T>ExceptionCopyright © 2017. All rights reserved.