Packages

abstract class Channel[T] extends ReadChannel[T] with WriteChannel[T]

Linear Supertypes
WriteChannel[T], ReadChannel[T], ChannelLike, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Channel
  2. WriteChannel
  3. ReadChannel
  4. ChannelLike
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Channel()

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    WriteChannel
  2. abstract def fetchValueOpt(): Option[T]
    Attributes
    protected
  3. abstract def hasCapacity: Boolean
    Attributes
    protected
  4. abstract def hasMessages: Boolean
    Attributes
    protected
  5. abstract def isClosed: Boolean
    Definition Classes
    ChannelLike
  6. abstract def recv(): T
    Definition Classes
    ReadChannel
  7. abstract def send(value: T): Unit
    Definition Classes
    WriteChannel
  8. abstract def tryRecv(timeout: Duration): Option[T]
    Definition Classes
    ReadChannel
  9. abstract def tryRecv(): Option[T]
    Definition Classes
    ReadChannel
  10. abstract def trySend(value: T, timeout: Duration): Boolean
    Definition Classes
    WriteChannel
  11. abstract def trySend(value: T): Boolean
    Definition Classes
    WriteChannel

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. var closed: Boolean
    Attributes
    protected
  7. val crd: Condition
    Attributes
    protected
  8. val cwr: Condition
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def filter(f: (T) => Boolean): ReadChannel[T]
    Definition Classes
    ReadChannel
  12. final def foreach[U](f: (T) => U): Unit
    Definition Classes
    ChannelReadChannel
  13. final def fornew[U](f: (T) => U): Unit
    Definition Classes
    ChannelReadChannel
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val lock: ReentrantLock
    Attributes
    protected
  18. def map[U](f: (T) => U): ReadChannel[U]
    Definition Classes
    ReadChannel
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyReaders(): Unit
    Attributes
    protected
  23. final def notifyWriters(): Unit
    Attributes
    protected
  24. val readWaiters: SimpleLinkedList[Semaphore]
    Attributes
    protected
  25. var readers: Int
    Attributes
    protected
  26. final def recver(action: (T) => Unit): Selector
    Definition Classes
    ChannelReadChannel
  27. final def sender(value: T)(action: => Unit = {}): Selector
    Definition Classes
    ChannelWriteChannel
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toList: List[T]
    Definition Classes
    ReadChannel
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. def withFilter(f: (T) => Boolean): ReadChannel[T]
    Definition Classes
    ReadChannel
  35. val writeWaiters: SimpleLinkedList[Semaphore]
    Attributes
    protected
  36. var writers: Int
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from WriteChannel[T]

Inherited from ReadChannel[T]

Inherited from ChannelLike

Inherited from AnyRef

Inherited from Any

Ungrouped