Interface TaskPool.FailureTask<I,E extends Exception>
- Type Parameters:
I- item type being processedE- exception class which may be raised
- Enclosing class:
- TaskPool
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback invoked on a failure.
-
Method Summary
-
Method Details
-
run
process a failure.- Parameters:
item- item the task is processingexception- the exception which was raised.- Throws:
E- Exception of type E
-