public abstract class ObjectPoolSet<T> extends ObjectPool<T>
keepThreshold
Constructor and Description |
---|
ObjectPoolSet() |
ObjectPoolSet(int keepThreshold) |
Modifier and Type | Method and Description |
---|---|
void |
checkIn(T t) |
void |
checkInAll() |
T |
checkOut() |
protected abstract T |
create() |
abstract void |
resetObject(T o) |
java.lang.String |
toString() |
getKeepThreshold, setKeepThreshold
public ObjectPoolSet()
public ObjectPoolSet(int keepThreshold)
protected abstract T create() throws MaltChainedException
create
in class ObjectPool<T>
MaltChainedException
public abstract void resetObject(T o) throws MaltChainedException
resetObject
in class ObjectPool<T>
MaltChainedException
public T checkOut() throws MaltChainedException
checkOut
in class ObjectPool<T>
MaltChainedException
public void checkIn(T t) throws MaltChainedException
checkIn
in class ObjectPool<T>
MaltChainedException
public void checkInAll() throws MaltChainedException
checkInAll
in class ObjectPool<T>
MaltChainedException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.