public class ConsequentResultProcessor<T> extends Object implements IVolumeResultProcessor<T>
IVolumeResultProcessor.| Constructor and Description |
|---|
ConsequentResultProcessor(List<IVolumeResultProcessor<T>> processors)
Create the instance with specified list of processors
|
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(T data)
Invokes
IVolumeResultProcessor.onFailure(Object) for all specified processors with order preserving |
void |
onSuccess(T data)
Invokes
IVolumeResultProcessor.onSuccess(Object) for all specified processors with order preserving |
public ConsequentResultProcessor(List<IVolumeResultProcessor<T>> processors)
processors - the ordered list of processors for invocationpublic void onSuccess(T data)
IVolumeResultProcessor.onSuccess(Object) for all specified processors with order preservingonSuccess in interface IVolumeResultProcessor<T>data - the processed data objectpublic void onFailure(T data)
IVolumeResultProcessor.onFailure(Object) for all specified processors with order preservingonFailure in interface IVolumeResultProcessor<T>data - the processed data objectCopyright © 2020. All rights reserved.