Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jini.thread
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.

Field Summary
`WakeupManager.ThreadDesc` | `desc` The `ThreadDesc`, or `null` if none.
`Runnable` | `task` The task object to be executed
`long` | `when` When the task should occur.

Method Summary
`int` | `compareTo(Object o)`
`boolean` | `equals(Object o)`
`int` | `hashCode()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### 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 Detail

### toString

    public String toString()

### equals

    public boolean equals(Object o)

### hashCode

    public int hashCode()

### compareTo

    public int compareTo(Object o)

  Specified by:
    `compareTo` in interface `Comparable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved