Class GenericKeyedObjectPool.ObjectQueue

java.lang.Object
org.apache.commons.pool.impl.GenericKeyedObjectPool.ObjectQueue
Enclosing class:
GenericKeyedObjectPool<K,V>

private class GenericKeyedObjectPool.ObjectQueue extends Object
A "struct" that keeps additional information about the actual queue of pooled objects.
  • Field Details

    • activeCount

      private int activeCount
      Number of instances checked out to clients from this queue
    • queue

      Idle instance queue
    • internalProcessingCount

      private int internalProcessingCount
      Number of instances in process of being created
  • Constructor Details

    • ObjectQueue

      private ObjectQueue()
  • Method Details

    • incrementActiveCount

      void incrementActiveCount()
      Increment the active count for this queue
    • decrementActiveCount

      void decrementActiveCount()
      Decrement the active count for this queue
    • incrementInternalProcessingCount

      void incrementInternalProcessingCount()
      Record the fact that one more instance is queued for creation
    • decrementInternalProcessingCount

      void decrementInternalProcessingCount()
      Decrement the number of instances in process of being created