|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectStackKeyedObjectPool
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 | |||||||||