S - the source type being collected.T - The type the source type is being collected and transformed into.public class CollectStreamHelper<S,T> extends Object implements FutureDone<S>
AsyncFramework.collect(Collection, StreamCollector).| Constructor and Description |
|---|
CollectStreamHelper(AsyncCaller caller,
int size,
StreamCollector<S,T> collector,
ResolvableFuture<? super T> target) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled() |
void |
failed(Throwable e) |
void |
resolved(S result) |
public CollectStreamHelper(AsyncCaller caller, int size, StreamCollector<S,T> collector, ResolvableFuture<? super T> target)
public void failed(Throwable e) throws Exception
failed in interface FutureDone<S>Exceptionpublic void resolved(S result) throws Exception
resolved in interface FutureDone<S>Exceptionpublic void cancelled()
throws Exception
cancelled in interface FutureDone<S>ExceptionCopyright © 2017. All rights reserved.