abstract class Channel[T] extends ReadChannel[T] with WriteChannel[T]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Channel
- WriteChannel
- ReadChannel
- ChannelLike
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Channel()
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- WriteChannel
- abstract def fetchValueOpt(): Option[T]
- Attributes
- protected
- abstract def hasCapacity: Boolean
- Attributes
- protected
- abstract def hasMessages: Boolean
- Attributes
- protected
- abstract def isClosed: Boolean
- Definition Classes
- ChannelLike
- abstract def recv(): T
- Definition Classes
- ReadChannel
- abstract def send(value: T): Unit
- Definition Classes
- WriteChannel
- abstract def tryRecv(timeout: Duration): Option[T]
- Definition Classes
- ReadChannel
- abstract def tryRecv(): Option[T]
- Definition Classes
- ReadChannel
- abstract def trySend(value: T, timeout: Duration): Boolean
- Definition Classes
- WriteChannel
- abstract def trySend(value: T): Boolean
- Definition Classes
- WriteChannel
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- var closed: Boolean
- Attributes
- protected
- val crd: Condition
- Attributes
- protected
- val cwr: Condition
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filter(f: (T) => Boolean): ReadChannel[T]
- Definition Classes
- ReadChannel
- final def foreach[U](f: (T) => U): Unit
- Definition Classes
- Channel → ReadChannel
- final def fornew[U](f: (T) => U): Unit
- Definition Classes
- Channel → ReadChannel
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lock: ReentrantLock
- Attributes
- protected
- def map[U](f: (T) => U): ReadChannel[U]
- Definition Classes
- ReadChannel
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyReaders(): Unit
- Attributes
- protected
- final def notifyWriters(): Unit
- Attributes
- protected
- val readWaiters: SimpleLinkedList[Semaphore]
- Attributes
- protected
- var readers: Int
- Attributes
- protected
- final def recver(action: (T) => Unit): Selector
- Definition Classes
- Channel → ReadChannel
- final def sender(value: T)(action: => Unit = {}): Selector
- Definition Classes
- Channel → WriteChannel
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toList: List[T]
- Definition Classes
- ReadChannel
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withFilter(f: (T) => Boolean): ReadChannel[T]
- Definition Classes
- ReadChannel
- val writeWaiters: SimpleLinkedList[Semaphore]
- Attributes
- protected
- var writers: Int
- Attributes
- protected
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated