Package | Description |
---|---|
org.apache.river.thread.wakeup |
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.
|
int |
WakeupManager.Ticket.compareTo(WakeupManager.Ticket o) |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.