|
Protomatter Classes v1.1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a uniform way of interacting with asynchronous work queues.
Field Summary | |
static java.lang.String |
JNDI_NAME
Implementations of this interface are placed in the JNDI tree at this location. |
Method Summary | |
void |
addWork(java.lang.Runnable r)
Add work to the "default" work queue. |
void |
addWork(java.lang.String queue,
java.lang.Runnable r)
Add work to the given work queue. |
int |
getNumThreads(java.lang.String queue)
Get the number of threads available in the given queue. |
int |
getNumWaiters(java.lang.String queue)
Get the number of threads waiting in the given queue. |
int |
getNumWorkers(java.lang.String queue)
Get the number of workers in the given queue. |
int |
getQueueLength(java.lang.String queue)
Get the length of the given queue. |
java.util.Enumeration |
getQueueNames()
Get the names of available queues. |
Field Detail |
public static final java.lang.String JNDI_NAME
Method Detail |
public void addWork(java.lang.Runnable r)
public void addWork(java.lang.String queue, java.lang.Runnable r)
public int getNumWorkers(java.lang.String queue)
public int getNumWaiters(java.lang.String queue)
public int getNumThreads(java.lang.String queue)
public int getQueueLength(java.lang.String queue)
public java.util.Enumeration getQueueNames()
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |