Package org.hpccsystems.ws.client.utils
Class ObjectPool<T>
- java.lang.Object
-
- org.hpccsystems.ws.client.utils.ObjectPool<T>
-
- Direct Known Subclasses:
HPCCWsClientPool
public abstract class ObjectPool<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description ObjectPool()
ObjectPool(long expirationTime)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
checkIn(T t)
T
checkOut()
protected abstract T
create()
abstract void
expire(T object)
abstract boolean
validate(T object)
-