Top Fields Constructors Methods
stormpot

pack-priv Class DirectAllocationController<T extends Poolable>

extends AllocationController<T extends Poolable>
Class Inheritance
Imports
java.util.Objects, java.util.concurrent.LinkedTransferQueue, .TimeUnit, java.util.concurrent.atomic.AtomicInteger

Field Summary

Modifier and TypeField and Description
private final RefillPile<T>
private final LinkedTransferQueue<BSlot<T>>
private final AtomicInteger
private final BSlot<T>
private final AtomicInteger
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
DirectAllocationController(LinkedTransferQueue<BSlot<T>> live, RefillPile<T> disregardPile, PoolBuilder<T> builder, BSlot<T> poisonPill)

Method Summary

Modifier and TypeMethod and Description
pack-priv long
pack-priv long
pack-priv long
pack-priv int
pack-priv void
pack-priv void
pack-priv Completion

Field Detail

disregardPileback to summary
private final RefillPile<T> disregardPile
liveback to summary
private final LinkedTransferQueue<BSlot<T>> live
poisonedSlotsback to summary
private final AtomicInteger poisonedSlots
poisonPillback to summary
private final BSlot<T> poisonPill
shutdownStateback to summary
private final AtomicInteger shutdownState
sizeback to summary
private final int size

Constructor Detail

DirectAllocationControllerback to summary
pack-priv DirectAllocationController(LinkedTransferQueue<BSlot<T>> live, RefillPile<T> disregardPile, PoolBuilder<T> builder, BSlot<T> poisonPill)

Method Detail

countLeakedObjectsback to summary
pack-priv long countLeakedObjects()

Implements abstract stormpot.AllocationController.countLeakedObjects.

Annotations
@Override
getAllocationCountback to summary
pack-priv long getAllocationCount()

Implements abstract stormpot.AllocationController.getAllocationCount.

Annotations
@Override
getFailedAllocationCountback to summary
pack-priv long getFailedAllocationCount()

Implements abstract stormpot.AllocationController.getFailedAllocationCount.

Annotations
@Override
getTargetSizeback to summary
pack-priv int getTargetSize()

Implements abstract stormpot.AllocationController.getTargetSize.

Annotations
@Override
offerDeadSlotback to summary
pack-priv void offerDeadSlot(BSlot<T> slot)

Implements abstract stormpot.AllocationController.offerDeadSlot.

Annotations
@Override
setTargetSizeback to summary
pack-priv void setTargetSize(int size)

Implements abstract stormpot.AllocationController.setTargetSize.

Annotations
@Override
shutdownback to summary
pack-priv Completion shutdown()

Implements abstract stormpot.AllocationController.shutdown.

Annotations
@Override