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 IMultiplexCollector
public void intermediateResultAvailable(Object result)
IIntermediateResultListener
intermediateResultAvailable
in interface IIntermediateResultListener<Object>
result
- The result.public void finished()
IIntermediateResultListener
finished
in interface IIntermediateResultListener<Object>
public void resultAvailable(Collection<Object> result)
IIntermediateResultListener
resultAvailable
in interface IIntermediateResultListener<Object>
resultAvailable
in interface IResultListener<Collection<Object>>
result
- The final result.public void exceptionOccurred(Exception exception)
IResultListener
exceptionOccurred
in interface IResultListener<Collection<Object>>
exception
- The exception.Copyright © 2013. All Rights Reserved.