Additional top-level classes in compilation unit: MpscChunkedArrayQueue, MpscChunkedArrayQueueColdProducerFields, BaseMpscLinkedArrayQueuePad1, BaseMpscLinkedArrayQueueProducerFields, BaseMpscLinkedArrayQueuePad2, BaseMpscLinkedArrayQueueConsumerFields, BaseMpscLinkedArrayQueuePad3, BaseMpscLinkedArrayQueueColdProducerFields, BaseMpscLinkedArrayQueue.
This is a shaded copy of MpscGrowableArrayQueue provided by JCTools from version 2.0.
| Access | Constructor and Description |
|---|---|
| pack-priv | MpscGrowableArrayQueue(int
the queue initial capacity. If chunk size is fixed this will be the
chunk size. Must be 2 or more. initialCapacity, int the maximum capacity will be rounded up to the closest power of 2 and will
be the upper limit of number of elements in this queue. Must be 4 or more and round up
to a larger power of 2 than initialCapacity. maxCapacity)
|
| Modifier and Type | Method and Description |
|---|---|
| protected long | getCurrentBufferCapacity(long mask)
Implements abstract com. |
| protected int | getNextBufferSize(E[] buffer)
Implements abstract com. |
| MpscGrowableArrayQueue | back to summary |
|---|---|
pack-priv MpscGrowableArrayQueue(int initialCapacity, int maxCapacity)
| |
| getCurrentBufferCapacity | back to summary |
|---|---|
| protected long getCurrentBufferCapacity(long mask) Implements abstract com.
| |
| getNextBufferSize | back to summary |
|---|---|
| protected int getNextBufferSize(E[] buffer) Implements abstract com.
| |