Class PoolStatus


  • public class PoolStatus
    extends Object
    Reflects the current status of the Connection Pool. This class is used to get the status of the pool specifically the number of connections free or used.
    Author:
    Shalini M
    • Constructor Detail

      • PoolStatus

        public PoolStatus​(PoolInfo poolInfo)
    • Method Detail

      • getNumConnFree

        public int getNumConnFree()
      • setNumConnFree

        public void setNumConnFree​(int numConnFree)
      • getNumConnUsed

        public int getNumConnUsed()
      • setNumConnUsed

        public void setNumConnUsed​(int numConnUsed)
      • getPoolInfo

        public PoolInfo getPoolInfo()
      • setPoolInfo

        public void setPoolInfo​(PoolInfo poolInfo)