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 Type
    Method
    Description
    void
    Invoked immediately when a task times out.
  • Method Details

    • doTimeoutAction

      void doTimeoutAction() throws Exception
      Invoked immediately when a task times out.
      Throws:
      Exception - if any error occurs while this callback is executing.