Class PoolStats


  • public class PoolStats
    extends Object
    Contains general information about the state of the object pool its objects.
    Author:
    Patrick Schmidt
    • Method Detail

      • getAvailableSlots

        public int getAvailableSlots()
        Returns the number of available slots.
        Returns:
        the number of available slots
      • getTotalSlots

        public int getTotalSlots()
        Returns the total number of slots.
        Returns:
        the total number of slots
      • getAvailableObjects

        public int getAvailableObjects()
        Returns the number of available objects.
        Returns:
        the number of available objects
      • getTotalObjects

        public int getTotalObjects()
        Returns the total number of pooled objects.
        Returns:
        the total number of pooled objects