|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.pool.BaseKeyedObjectPool
org.apache.commons.pool.impl.StackKeyedObjectPool
org.exist.dom.NodeObjectPool
An object pool for reusable node objects. Usually, node objects are only held in memory for a short time. By reusing these objects, we can save many object creations.
Constructor Summary | |
NodeObjectPool()
|
Method Summary | |
NodeImpl |
borrowNode(java.lang.Class clazz)
|
static NodeObjectPool |
getInstance()
|
void |
returnNode(NodeImpl node)
|
Methods inherited from class org.apache.commons.pool.impl.StackKeyedObjectPool |
addObject, borrowObject, clear, clear, close, getNumActive, getNumActive, getNumIdle, getNumIdle, invalidateObject, returnObject, setFactory, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NodeObjectPool()
Method Detail |
public static final NodeObjectPool getInstance()
public NodeImpl borrowNode(java.lang.Class clazz)
public void returnNode(NodeImpl node)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |