CommonBase

gopher.impl.OrReadChannel.CommonBase
abstract class CommonBase[B](nested: Reader[B])

Attributes

Source:
OrReadChannel.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def intercept(readFun: Try[B] => Unit): Try[B] => Unit

Attributes

Source:
OrReadChannel.scala

Concrete methods

def canExpire: Boolean

Attributes

Source:
OrReadChannel.scala
def capture(fromChannel: ReadChannel[F, A]): Capture[Try[B] => Unit]

Attributes

Source:
OrReadChannel.scala
def isExpired(fromChannel: ReadChannel[F, A]): Boolean

Attributes

Source:
OrReadChannel.scala
def markFree(fromChannel: ReadChannel[F, A]): Unit

Attributes

Source:
OrReadChannel.scala
def markUsed(fromChannel: ReadChannel[F, A]): Unit

Attributes

Source:
OrReadChannel.scala
protected def passIfClosed(v: Try[B], readFun: Try[B] => Unit): Unit

Attributes

Source:
OrReadChannel.scala
protected def passToNested(v: Try[B], readFun: Try[B] => Unit): Unit

Attributes

Source:
OrReadChannel.scala
protected def setClosed(): Boolean

Can be called only insed wrapper fun, set current inUse be closed, if n precondition: inUse.get !== null return: true, if bith x and y are closed

Can be called only insed wrapper fun, set current inUse be closed, if n precondition: inUse.get !== null return: true, if bith x and y are closed

Attributes

Source:
OrReadChannel.scala

Concrete fields

val inUse: AtomicReference[ReadChannel[F, A]]

Attributes

Source:
OrReadChannel.scala
val used: AtomicBoolean

Attributes

Source:
OrReadChannel.scala