|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.common.util.ThrottledPool
This is a pool of Throttle objects (!)
Constructor Summary | |
ThrottledPool(java.lang.Class type,
int size)
Create a ThrottledPool for a Class |
Method Summary | |
java.lang.Object |
pop()
Pop an object from the pool |
void |
push(java.lang.Object o)
Push an object onto the pool |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThrottledPool(java.lang.Class type, int size)
type
- - the type of objects being managedsize
- - the size of the poolMethod Detail |
public java.lang.Object pop()
public void push(java.lang.Object o)
o
- - the object to put into the pool
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |