public class FlattenMultiplexCollector extends Object implements IMultiplexCollector
| Constructor and Description |
|---|
FlattenMultiplexCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
void |
finished()
Declare that the future is finished.
|
void |
init(Future<Object> fut,
Method method,
Object[] args,
Method muxmethod)
Init to share code.
|
void |
intermediateResultAvailable(Object result)
Called when an intermediate result is available.
|
void |
resultAvailable(Collection<Object> result)
Called when the result is available.
|
public void init(Future<Object> fut, Method method, Object[] args, Method muxmethod)
init in interface IMultiplexCollectorpublic void intermediateResultAvailable(Object result)
IIntermediateResultListenerintermediateResultAvailable in interface IIntermediateResultListener<Object>result - The result.public void finished()
IIntermediateResultListenerfinished in interface IIntermediateResultListener<Object>public void resultAvailable(Collection<Object> result)
IIntermediateResultListenerresultAvailable in interface IIntermediateResultListener<Object>resultAvailable in interface IResultListener<Collection<Object>>result - The final result.public void exceptionOccurred(Exception exception)
IResultListenerexceptionOccurred in interface IResultListener<Collection<Object>>exception - The exception.Copyright © 2012. All Rights Reserved.