Class PoolCounter


  • public final class PoolCounter
    extends Object
    Simulates the behaviour of a set of pools with different pool idle limits, and collects statistics about the efficiency of such pools. Useful for determining pool idle limits.
    Author:
    Ralf Wiebicke
    • Constructor Detail

      • PoolCounter

        public PoolCounter()
      • PoolCounter

        public PoolCounter​(int... idleLimits)
      • PoolCounter

        public PoolCounter​(PoolCounter source)
    • Method Detail

      • incrementGet

        public void incrementGet()
      • incrementPut

        public void incrementPut()
      • getGetCounter

        public int getGetCounter()
      • getPutCounter

        public int getPutCounter()