Class NodePool

java.lang.Object
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addNode(Node pNode)
    addNode
    int
    getHitCnt
    int
    getMissCnt
    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 Details

    • NodePool

      public NodePool()
  • Method Details

    • 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