Module stormpot

Class ThreadedAllocationController<T extends Poolable>

java.lang.Object
stormpot.internal.AllocationController<T>
stormpot.internal.ThreadedAllocationController<T>
Type Parameters:
T - The concrete poolable type.

public final class ThreadedAllocationController<T extends Poolable> extends AllocationController<T>
The AllocationController implementation for the AllocationProcessMode.THREADED mode.
  • Method Details

    • shutdown

      public Completion shutdown()
    • offerDeadSlot

      public void offerDeadSlot(BSlot<T> slot)
    • setTargetSize

      public void setTargetSize(long size)
    • getTargetSize

      public long getTargetSize()
    • getAllocationCount

      public long getAllocationCount()
    • getFailedAllocationCount

      public long getFailedAllocationCount()
    • countLeakedObjects

      public long countLeakedObjects()
    • allocatedSize

      public long allocatedSize()
    • inUse

      public long inUse()