SPSCBuffer

gopher.impl.SPSCBuffer
trait SPSCBuffer[A]

Buffer. access to buffer is exclusive by owner channel, different loops can start in different threads but only one loop can be active at the samw time

Attributes

Source
SPSCBuffer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RingBuffer

Members list

Value members

Abstract methods

def finishRead(): Boolean

Attributes

Source
SPSCBuffer.scala
def isEmpty(): Boolean

Attributes

Source
SPSCBuffer.scala
def isFull(): Boolean

Attributes

Source
SPSCBuffer.scala
def local(): Unit

Attributes

Source
SPSCBuffer.scala
def publish(): Unit

Attributes

Source
SPSCBuffer.scala
def startRead(): A

Attributes

Source
SPSCBuffer.scala
def write(a: A): Boolean

Attributes

Source
SPSCBuffer.scala