|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.java.recycle.pool.WorkerContainer
This class implements the container that is used to store the recycled threads.
Field Summary | |
private int |
capacity
|
private RecycleBin |
container
|
private java.lang.ThreadGroup |
group
|
private int |
level
|
Constructor Summary | |
protected |
WorkerContainer(RecycleBin container,
java.lang.ThreadGroup group,
int capacity)
|
Method Summary | |
Recyclable |
getRecyclable()
|
int |
getSize()
|
void |
recycle(Recyclable worker)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private RecycleBin container
private java.lang.ThreadGroup group
private int capacity
private int level
Constructor Detail |
protected WorkerContainer(RecycleBin container, java.lang.ThreadGroup group, int capacity)
Method Detail |
public Recyclable getRecyclable()
public void recycle(Recyclable worker)
public int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |