Package org.jppf.utils.concurrent
Interface QueueHandler.ElementHandler<E>
- Type Parameters:
E- the type of elements to handle.
- Enclosing interface:
- QueueHandler<E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An operation applied to each element taken from the queue by the dequeuer thread(s).
-
Method Summary
-
Method Details
-
handle
Handle an element.- Parameters:
element- the object to handle.- Throws:
Exception- if any error occurs.
-