org.sblim.cimclient.internal.cimxml.sax
Class NodePool

java.lang.Object
  extended by org.sblim.cimclient.internal.cimxml.sax.NodePool

public class NodePool
extends java.lang.Object

NodePool is used by XMLDefaultHandlerImpl to store unused Node instances which can be reused later without instantiating new ones.


Constructor Summary
NodePool()
           
 
Method Summary
 void addNode(Node pNode)
          addNode
 int getHitCnt()
          getHitCnt
 int getMissCnt()
          getMissCnt
 Node getNode(java.lang.String pNodeName)
          getNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodePool

public NodePool()
Method Detail

addNode

public void addNode(Node pNode)
addNode

Parameters:
pNode -

getNode

public Node getNode(java.lang.String pNodeName)
getNode

Parameters:
pNodeName -
Returns:
Node

getHitCnt

public int getHitCnt()
getHitCnt

Returns:
int

getMissCnt

public int getMissCnt()
getMissCnt

Returns:
int


Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.