| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | fill(MessagePassingQueue.
Overrides io. Implements io. |
| pack-priv final boolean | offerColdPath(E[] buffer, long mask, long pIndex, long offset, E v, MessagePassingQueue.
Implements abstract io. |
| SpscUnboundedArrayQueue | back to summary |
|---|---|
| public SpscUnboundedArrayQueue(int chunkSize) | |
| capacity | back to summary |
|---|---|
| public int capacity() Implements io.
| |
| fill | back to summary |
|---|---|
| public int fill(MessagePassingQueue. Overrides io. Implements io. Doc from io. Stuff the queue with elements from the supplier. Semantically similar to: while(relaxedOffer(s.get());There's no strong commitment to the queue being full at the end of a fill. Called from a producer thread subject to the restrictions appropriate to the implementation. Unbounded queues will fill up the queue with a fixed amount rather than fill up to oblivion Warning Explicit assumptions are made with regards to
| |
| offerColdPath | back to summary |
|---|---|
| pack-priv final boolean offerColdPath(E[] buffer, long mask, long pIndex, long offset, E v, MessagePassingQueue. Implements abstract io.
| |