T
- The type of result produced / acceptedpublic abstract class FlowControlledNoFailureProcessor<T> extends FlowControlledProcessor<T>
FlowControlledProcessor
which assumes all exceptions are unexpected.
Since this is a common condition this class can help reduce some boiler plate code.Constructor and Description |
---|
FlowControlledNoFailureProcessor(int maxRunningTasks,
boolean provideResultsInOrder)
Construct a new processor.
|
start
public FlowControlledNoFailureProcessor(int maxRunningTasks, boolean provideResultsInOrder)
FlowControlledProcessor.start()
once constructed to start
processing.maxRunningTasks
- Maximum number of concurrent running tasksprovideResultsInOrder
- If true
completed results will be provided in the order they are submitted