Class AbstractPool

    • Method Detail

      • lock

        public void lock()
        Lock.
        Specified by:
        lock in interface Pool
      • unlock

        public void unlock()
        Unlock.
        Specified by:
        unlock in interface Pool
      • getCapacity

        public int getCapacity()
        Gets the capacity.
        Specified by:
        getCapacity in interface Pool
        Returns:
      • putCount

        public long putCount()
        Specified by:
        putCount in interface Pool
        Returns:
      • hitCount

        public long hitCount()
        Specified by:
        hitCount in interface Pool
        Returns:
      • missCount

        public long missCount()
        Specified by:
        missCount in interface Pool
        Returns:
      • evictionCount

        public long evictionCount()
        Description copied from interface: Pool
        Returns the number of values that have been evicted.
        Specified by:
        evictionCount in interface Pool
        Returns:
      • isEmpty

        public boolean isEmpty()
        Checks if is empty.
        Specified by:
        isEmpty in interface Pool
        Returns:
        true, if is empty
      • isClosed

        public boolean isClosed()
        Checks if is closed.
        Specified by:
        isClosed in interface Pool
        Returns:
        true, if is closed