zio.blocks.ringbuffer.SpmcRingBuffer
See theSpmcRingBuffer companion class
Attributes
- Companion
-
class
- Source
-
SpmcRingBuffer.scala
- Graph
-
- Supertypes
-
trait Matchable
class Any
- Self type
-
Members list
Creates a new SpmcRingBuffer with the given capacity.
Creates a new SpmcRingBuffer with the given capacity.
Type parameters
- A
-
the element type (must be a reference type)
Value parameters
- capacity
-
the buffer capacity, must be a positive power of two
Attributes
- Returns
-
a new lock-free SPMC ring buffer
- Source
-
SpmcRingBuffer.scala