Top Description Constructors Methods
stormpot

pack-priv abstract Class AllocationController<T extends Poolable>

extends Object
Class Inheritance
Known Direct Subclasses
stormpot.DirectAllocationController, stormpot.InlineAllocationController, stormpot.ThreadedAllocationController
Type Parameters
<T>
The type of poolables to allocate or deallocate.

An AllocationController implements the actual allocation and deallocation of objects in a pool.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv abstract long
pack-priv abstract long
pack-priv abstract long
pack-priv abstract int
pack-priv abstract void
pack-priv abstract void
setTargetSize(int size)

pack-priv abstract Completion
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AllocationControllerback to summary
pack-priv AllocationController()

Method Detail

countLeakedObjectsback to summary
pack-priv abstract long countLeakedObjects()
See Also
ManagedPool#getLeakedObjectsCount()
getAllocationCountback to summary
pack-priv abstract long getAllocationCount()
See Also
ManagedPool#getAllocationCount()
getFailedAllocationCountback to summary
pack-priv abstract long getFailedAllocationCount()
See Also
ManagedPool#getFailedAllocationCount()
getTargetSizeback to summary
pack-priv abstract int getTargetSize()
See Also
Pool#getTargetSize()
offerDeadSlotback to summary
pack-priv abstract void offerDeadSlot(BSlot<T> slot)
setTargetSizeback to summary
pack-priv abstract void setTargetSize(int size)
See Also
Pool#setTargetSize(int)
shutdownback to summary
pack-priv abstract Completion shutdown()
See Also
Pool#shutdown()