Class SimplePoolStats

  • All Implemented Interfaces:
    PoolStats

    public final class SimplePoolStats
    extends Object
    implements PoolStats
    Author:
    Philipp Meinen
    • Constructor Detail

      • SimplePoolStats

        public SimplePoolStats()
    • Method Detail

      • getCreates

        public long getCreates()
        Specified by:
        getCreates in interface PoolStats
        Returns:
        The number of object which were created because no pooled objects were left.
      • getTakes

        public long getTakes()
        Specified by:
        getTakes in interface PoolStats
        Returns:
        The number of objects which have been taken by client-code.
      • getRecycled

        public long getRecycled()
        Specified by:
        getRecycled in interface PoolStats
        Returns:
        The number of objects which have been recycled by client-code.
      • getReleased

        public long getReleased()
        Specified by:
        getReleased in interface PoolStats
        Returns:
        The number of objects which have been released because they were no longer needed.