public interface ResultHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
handleResult(T value)
This method is called by collectors whenever a result is collected.
|
void handleResult(T value) throws CollectionAbortedException
value
- The collected resultCollectionAbortedException
- The client code requests that the collection is aborted