Top Fields Constructors Methods
stormpot

pack-priv Class ThreadedAllocationController<T extends Poolable>

extends AllocationController<T extends Poolable>
Class Inheritance
Imports
java.util.concurrent.LinkedTransferQueue, .ThreadFactory

Field Summary

Modifier and TypeField and Description
private final BAllocThread<T>
private final Thread

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
public long
public long
public int
public void
public void
public Completion

Field Detail

allocatorback to summary
private final BAllocThread<T> allocator
allocatorThreadback to summary
private final Thread allocatorThread

Constructor Detail

ThreadedAllocationControllerback to summary
pack-priv ThreadedAllocationController(LinkedTransferQueue<BSlot<T>> live, RefillPile<T> disregardPile, RefillPile<T> newAllocations, PoolBuilder<T> builder, BSlot<T> poisonPill)

Method Detail

countLeakedObjectsback to summary
public long countLeakedObjects()

Implements abstract stormpot.AllocationController.countLeakedObjects.

Annotations
@Override
getAllocationCountback to summary
public long getAllocationCount()

Implements abstract stormpot.AllocationController.getAllocationCount.

Annotations
@Override
getFailedAllocationCountback to summary
public long getFailedAllocationCount()

Implements abstract stormpot.AllocationController.getFailedAllocationCount.

Annotations
@Override
getTargetSizeback to summary
public int getTargetSize()

Implements abstract stormpot.AllocationController.getTargetSize.

Annotations
@Override
offerDeadSlotback to summary
public void offerDeadSlot(BSlot<T> slot)

Implements abstract stormpot.AllocationController.offerDeadSlot.

Annotations
@Override
setTargetSizeback to summary
public void setTargetSize(int size)

Implements abstract stormpot.AllocationController.setTargetSize.

Annotations
@Override
shutdownback to summary
public Completion shutdown()

Implements abstract stormpot.AllocationController.shutdown.

Annotations
@Override