Class WakeupManager.Ticket

java.lang.Object
com.sun.jini.thread.WakeupManager.Ticket
All Implemented Interfaces:
Comparable
Enclosing class:
WakeupManager

public static class WakeupManager.Ticket extends Object implements Comparable
A ticket that can be used for cancelling a future task. It describes the task itself as well. The WakeupManager.newTicket method can be used by subclasses of WakeupManager to create new Ticket instances.
  • Field Details

    • when

      public final long when
      When the task should occur.
    • task

      public final Runnable task
      The task object to be executed
    • desc

      public final WakeupManager.ThreadDesc desc
      The ThreadDesc, or null if none.
  • Method Details