Class FlowControlledNoFailureProcessor<T>
- java.lang.Object
-
- org.threadly.concurrent.processing.FlowControlledProcessor<T>
-
- org.threadly.concurrent.processing.FlowControlledNoFailureProcessor<T>
-
- Type Parameters:
T
- The type of result produced / accepted
- Direct Known Subclasses:
FlowControlledNoResultProcessor
public abstract class FlowControlledNoFailureProcessor<T> extends FlowControlledProcessor<T>
Implementation ofFlowControlledProcessor
which assumes all exceptions are unexpected. Since this is a common condition this class can help reduce some boiler plate code.- Since:
- 5.37
-
-
Constructor Summary
Constructors Constructor Description FlowControlledNoFailureProcessor(int maxRunningTasks, boolean provideResultsInOrder)
Construct a new processor.
-
Method Summary
-
Methods inherited from class org.threadly.concurrent.processing.FlowControlledProcessor
start
-
-
-
-
Constructor Detail
-
FlowControlledNoFailureProcessor
public FlowControlledNoFailureProcessor(int maxRunningTasks, boolean provideResultsInOrder)
Construct a new processor. You must invokeFlowControlledProcessor.start()
once constructed to start processing.- Parameters:
maxRunningTasks
- Maximum number of concurrent running tasksprovideResultsInOrder
- Iftrue
completed results will be provided in the order they are submitted
-
-