Uses of Interface
org.jboss.util.Executable
-
Packages that use Executable Package Description org.jboss.util Utility classes and interfaces. -
-
Uses of Executable in org.jboss.util
Classes in org.jboss.util that implement Executable Modifier and Type Class Description class
TimerTask
A class that represent a task that can be scheduled for one-shot or repeated execution by aTimerQueue
.Fields in org.jboss.util declared as Executable Modifier and Type Field Description private Executable
WorkerQueue.JobItem. m_job
Methods in org.jboss.util that return Executable Modifier and Type Method 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
TimerQueue. getJobImpl()
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.Methods in org.jboss.util with parameters of type Executable Modifier and Type Method 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 inWorkerQueue.getJob()
.protected void
TimerQueue. putJobImpl(Executable task)
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.Constructors in org.jboss.util with parameters of type Executable Constructor Description JobItem(Executable job)
-