Class TerminateHandler.ReadyTask

java.lang.Object
org.xnio.conduits.TerminateHandler.ReadyTask
All Implemented Interfaces:
Runnable
Enclosing interface:
TerminateHandler

public static class TerminateHandler.ReadyTask extends Object implements Runnable
A runnable task which invokes the TerminateHandler.terminated() method of the given handler.
  • Constructor Details

    • ReadyTask

      public ReadyTask(TerminateHandler handler)
      Construct a new instance.
      Parameters:
      handler - the handler to run
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable