Package org.jppf.node.protocol
Interface TimeoutHandler
public interface TimeoutHandler
This interface should be implemented by tasks that wish a callback invoked as soon
as they timeout. This differs from the
Task.onTimeout()
callback in that onTimeout() is called after the task has ended.- Since:
- 5.0
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked immediately when a task times out.
-
Method Details
-
doTimeoutAction
Invoked immediately when a task times out.- Throws:
Exception- if any error occurs while this callback is executing.
-