com.ibatis.common.util
Class ThrottledPool

java.lang.Object
  extended bycom.ibatis.common.util.ThrottledPool

public class ThrottledPool
extends java.lang.Object


Field Summary
private  java.util.LinkedList pool
           
private  Throttle throttle
           
private  java.lang.Class type
           
 
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
 

Field Detail

throttle

private Throttle throttle

type

private java.lang.Class type

pool

private java.util.LinkedList pool
Constructor Detail

ThrottledPool

public ThrottledPool(java.lang.Class type,
                     int size)
Method Detail

pop

public java.lang.Object pop()

push

public void push(java.lang.Object o)