|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.environment.processing.simple.WorkQueue
public class WorkQueue
Constructor Summary | |
---|---|
WorkQueue()
Constructor for WorkQueue. |
|
WorkQueue(int capacity)
Constructor for WorkQueue. |
Method Summary | |
---|---|
WorkRequest |
dequeue()
DESCRIBE THE METHOD |
void |
destroy()
DESCRIBE THE METHOD |
void |
enqueue(WorkRequest request)
DESCRIBE THE METHOD |
int |
getLength()
Gets the Length attribute of the WorkQueue object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkQueue()
public WorkQueue(int capacity)
capacity
- DESCRIBE THE PARAMETERMethod Detail |
---|
public int getLength()
public void enqueue(WorkRequest request)
request
- DESCRIBE THE PARAMETERpublic WorkRequest dequeue()
public void destroy()
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |