Package | Description |
---|---|
org.jboss.util |
Utility classes and interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
TimerTask
A class that represent a task that can be scheduled for one-shot or
repeated execution by a
TimerQueue . |
Modifier and Type | Method and Description |
---|---|
protected Executable |
WorkerQueue.getJob()
Called by this class, this method checks if the queue is empty;
if it is, then waits, else returns the current job.
|
protected Executable |
WorkerQueue.getJobImpl()
Never call this method, only override in subclasses to perform
job getting in a specific way, normally tied to the data structure
holding the jobs.
|
protected Executable |
TimerQueue.getJobImpl() |
Modifier and Type | Method and Description |
---|---|
void |
WorkerQueue.putJob(Executable job)
Called by a thread that is not the WorkerQueue thread, this method
queues the job and, if necessary, wakes up this worker queue that is
waiting in
WorkerQueue.getJob() . |
protected void |
WorkerQueue.putJobImpl(Executable job)
Never call this method, only override in subclasses to perform
job adding in a specific way, normally tied to the data structure
holding the jobs.
|
protected void |
TimerQueue.putJobImpl(Executable task) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.