java.lang.Object
stormpot.internal.AllocationController<T>
stormpot.internal.ThreadedAllocationController<T>
- Type Parameters:
T- The concrete poolable type.
The
AllocationController implementation for the AllocationProcessMode.THREADED mode.-
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglonginUse()voidofferDeadSlot(BSlot<T> slot) voidsetTargetSize(long size) shutdown()
-
Method Details
-
shutdown
-
offerDeadSlot
-
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()
-