| Modifier and Type | Field and Description |
|---|---|
| private final BlockingQueue | |
| private static final long | |
| private static final RefillSlot |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| pack-priv BSlot | |
| pack-priv void | |
| pack-priv boolean | Returns: `true` if any slots has been offered to the queue, or `false` if there were no slots in the pile.Refill the target queue with all the slots that have been pushed onto this stack. |
| public String | toString()
Overrides java. |
| refillQueue | back to summary |
|---|---|
| private final BlockingQueue<BSlot<T>> refillQueue | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| STACK_END | back to summary |
|---|---|
| private static final RefillSlot<Poolable> STACK_END | |
| RefillPile | back to summary |
|---|---|
| pack-priv RefillPile(BlockingQueue<BSlot<T>> refillQueue) | |
| pause | back to summary |
|---|---|
| private boolean pause() | |
| pop | back to summary |
|---|---|
| pack-priv BSlot | |
| push | back to summary |
|---|---|
| pack-priv void push(BSlot<T> slot) Push the given slot onto the stack. This method is wait-free.
| |
| refill | back to summary |
|---|---|
| pack-priv boolean refill() Refill the target queue with all the slots that have been pushed onto this stack. This method atomically pops all elements from the stack at once, and then pushed onto the queue one by one.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the String representation of the current value. | |