Reader

trait Reader[A] extends Expirable[Try[A] => Unit]
trait Expirable[Try[A] => Unit]
class Object
trait Matchable
class Any

Value members

Inherited methods

def canExpire: Boolean

called when reader/writer can become no more available for some reason

called when reader/writer can become no more available for some reason

Inherited from
Expirable
def capture(): Option[Try[A] => Unit]

capture object, and after this we can or use one (markUsed will be called) or abandon (markFree)

capture object, and after this we can or use one (markUsed will be called) or abandon (markFree)

Inherited from
Expirable
def isExpired: Boolean

if this object is expired and should be deleted from queue (for example: when reader is belong to select group and some other action in this select group was performed)

if this object is expired and should be deleted from queue (for example: when reader is belong to select group and some other action in this select group was performed)

Inherited from
Expirable
def markFree(): Unit

Called when it was a race condition and we can't use captured function.

Called when it was a race condition and we can't use captured function.

Inherited from
Expirable
def markUsed(): Unit

Called when we submitt to task executor readFunction and now is safe to make exprire all other readers/writers in the same select group

Called when we submitt to task executor readFunction and now is safe to make exprire all other readers/writers in the same select group

Inherited from
Expirable