All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.core.WorkItem
Summary |
public class WorkItem extends java.lang.Object { // Fields 3 WorkItem next; WorkItem prev; private final Runnable workFunc; // Constructors 1 public WorkItem(Runnable); // Methods 1 final void doItem(); }
A queueable callback for a ThreadPool.
XXX this is a public class. It probably needs to have the constructor and a number of methods protected, or be made final.
XXX this is a really stupid class. Hopefully it will be sucked into the NodeOS...
Cross Reference |
Fields |
· next | Summary | Top |
WorkItem next
The next WorkItem in the ThreadPool's queue of work items.
Manipulation of this field is protected by the ThreadPool's workLock.
· prev | Summary | Top |
WorkItem prev
The previous WorkItem in the ThreadPool's queue of work items.
Manipulation of this field is protected by the ThreadPool's workLock.
· workFunc | Summary | Top |
private final Runnable workFunc
Constructors |
· WorkItem | Summary | Top |
public WorkItem(Runnable r)
Methods |
· doItem | Summary | Top |
final void doItem()
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7