|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.protocol.util.PoolManager<T>
public abstract class PoolManager<T>
Implements a simple pool manager. An upper limit to the pool is set at 25 entries. New items can always be created.
Constructor Summary | |
---|---|
PoolManager()
|
Method Summary | |
---|---|
protected T |
getInstance()
|
protected abstract T |
internalNewInstance()
|
void |
release(T t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PoolManager()
Method Detail |
---|
protected T getInstance()
public void release(T t)
protected abstract T internalNewInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |