Class 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
      NodePool()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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