com.ibatis.common.util
Class ThrottledPool
java.lang.Object
com.ibatis.common.util.ThrottledPool
- public class ThrottledPool
- extends java.lang.Object
Constructor Summary |
ThrottledPool(java.lang.Class type,
int size)
|
Method Summary |
java.lang.Object |
pop()
|
void |
push(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
throttle
private Throttle throttle
type
private java.lang.Class type
pool
private java.util.LinkedList pool
ThrottledPool
public ThrottledPool(java.lang.Class type,
int size)
pop
public java.lang.Object pop()
push
public void push(java.lang.Object o)