Module org.glassfish.grizzly
Package org.glassfish.grizzly.utils
Interface DelayedExecutor.Worker<E>
- Enclosing class:
- DelayedExecutor
public static interface DelayedExecutor.Worker<E>
-
Method Summary
-
Method Details
-
doWork
The method is executed by DelayExecutor once element's timeout expires.- Parameters:
element
- element to operate upon.- Returns:
- true, if the work is done and element has to be removed from the delay queue, or false if the element should be re-registered on the delay queue again
-