edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.core.util
Class Pool

java.lang.Object
  extended by edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.core.util.Pool

public class Pool
extends Object

A simple pool implementation.

Author:
Jörg Schaible, Joe Walnes

Nested Class Summary
static interface Pool.Factory
           
 
Constructor Summary
Pool(int initialPoolSize, int maxPoolSize, Pool.Factory factory)
           
 
Method Summary
 Object fetchFromPool()
           
protected  void putInPool(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pool

public Pool(int initialPoolSize,
            int maxPoolSize,
            Pool.Factory factory)
Method Detail

fetchFromPool

public Object fetchFromPool()

putInPool

protected void putInPool(Object object)


Copyright © 2010 Internet2. All Rights Reserved.