Package | Description |
---|---|
com.sun.jini.thread |
These are utility classes and interfaces for helping with tasks done in multiple threads.
|
Modifier and Type | Method and Description |
---|---|
protected WakeupManager.Ticket |
WakeupManager.newTicket(long when,
Runnable task,
WakeupManager.ThreadDesc threadDesc)
Create a new ticket with the specified values for when the task should be run, what task
should be run, and what sort of thread the task should be run in.
|
WakeupManager.Ticket |
WakeupManager.schedule(long when,
Runnable task)
Schedule the given task for the given time.
|
WakeupManager.Ticket |
WakeupManager.schedule(long when,
Runnable task,
WakeupManager.ThreadDesc threadDesc)
Schedule the given task for the given time, to be run in a thread.
|
Modifier and Type | Method and Description |
---|---|
void |
WakeupManager.cancel(WakeupManager.Ticket t)
Cancel the given ticket.
|
Copyright © GigaSpaces.