Interface PoolStats

  • All Known Implementing Classes:
    SimplePoolStats

    public interface PoolStats
    Statistics about an object-pool.
    Author:
    Philipp Meinen
    • Method Detail

      • getCreates

        long getCreates()
        Returns:
        The number of object which were created because no pooled objects were left.
      • getTakes

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

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

        long getReleased()
        Returns:
        The number of objects which have been released because they were no longer needed.