Additional top-level classes in compilation unit: Padding1, PaddedAtomicInteger, Padding2, BSlotColdFields.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private PoolException | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public long | getAgeMillis()
Implements stormpot. |
| public long | getClaimCount()
Implements stormpot. |
| private int | |
| public T | getPoolable()
Implements stormpot. |
| public long | getStamp()
Implements stormpot. |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public void | release(Poolable
A reference to the Poolable object that is allocated for this
slot, and is being released. obj)Implements stormpot. |
| public void | setStamp(long
The new stamp value. stamp)Implements stormpot. |
| public String |
| CLAIMED | back to summary |
|---|---|
| private static final int CLAIMED | |
| DEAD | back to summary |
|---|---|
| private static final int DEAD | |
| LIVING | back to summary |
|---|---|
| private static final int LIVING | |
| TLR_CLAIMED | back to summary |
|---|---|
| private static final int TLR_CLAIMED | |
| BSlot | back to summary |
|---|---|
| pack-priv BSlot(BlockingQueue<BSlot<T>> live, AtomicInteger poisonedSlots) | |
| badStateOnTransitionToLive | back to summary |
|---|---|
| private PoolException badStateOnTransitionToLive(int slotState) | |
| claim2dead | back to summary |
|---|---|
| pack-priv void claim2dead() | |
| claim2live | back to summary |
|---|---|
| pack-priv void claim2live() | |
| claimTlr2live | back to summary |
|---|---|
| pack-priv void claimTlr2live() | |
| dead2live | back to summary |
|---|---|
| pack-priv void dead2live() | |
| getAgeMillis | back to summary |
|---|---|
| public long getAgeMillis() Implements stormpot. Doc from stormpot. Get the approximate number of milliseconds that have transpired since the object was allocated.
| |
| getClaimCount | back to summary |
|---|---|
| public long getClaimCount() Implements stormpot. Doc from stormpot. Get the number of times the object has been claimed since it was allocated.
| |
| getClaimState | back to summary |
|---|---|
| private int getClaimState() | |
| getPoolable | back to summary |
|---|---|
| public T getPoolable() Implements stormpot. Doc from stormpot. Get the Poolable object represented by this SlotInfo instance. Warning Do not Warning Also note that accessing the Poolable through
this method, from your
| |
| getStamp | back to summary |
|---|---|
| public long getStamp() Implements stormpot. Doc from stormpot. Get the stamp value that has been set on this SlotInfo, or 0 if none has
been set since the Poolable was allocated.
Apart from the zero-value, the actual meaning of this value is completely
up to the
| |
| incrementClaims | back to summary |
|---|---|
| pack-priv void incrementClaims() | |
| isClaimed | back to summary |
|---|---|
| pack-priv boolean isClaimed() | |
| isDead | back to summary |
|---|---|
| pack-priv boolean isDead() | |
| isLive | back to summary |
|---|---|
| pack-priv boolean isLive() | |
| live2claim | back to summary |
|---|---|
| pack-priv boolean live2claim() | |
| live2claimTlr | back to summary |
|---|---|
| pack-priv boolean live2claimTlr() | |
| live2dead | back to summary |
|---|---|
| pack-priv boolean live2dead() | |
| release | back to summary |
|---|---|
| public void release(Poolable obj) Implements stormpot. Doc from stormpot. Signal to the pool that the currently claimed object in this slot has been
released.
It is a user error to release a slot that is not currently claimed. It is
likewise a user error to release a Slot while inside the Allocators
| |
| setStamp | back to summary |
|---|---|
| public void setStamp(long stamp) Implements stormpot. Doc from stormpot. Set the stamp value on this SlotInfo.
This method is only thread-safe to call from within the scope of the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |