com
.
github
.
yruslan
.
channel
SyncChannel
Related Doc:
package channel
class
SyncChannel
[
T
]
extends
Channel
[
T
]
Linear Supertypes
Channel
[
T
],
WriteChannel
[
T
],
ReadChannel
[
T
],
ChannelLike
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SyncChannel
Channel
WriteChannel
ReadChannel
ChannelLike
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
SyncChannel
()
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
final
def
awaitReaders
(
awaiter:
Awaiter
)
:
Boolean
Attributes
protected
Definition Classes
Channel
Annotations
@throws
(
...
)
final
def
awaitReaders
()
:
Unit
Attributes
protected
Definition Classes
Channel
Annotations
@throws
(
...
)
final
def
awaitWriters
(
awaiter:
Awaiter
)
:
Boolean
Attributes
protected
Definition Classes
Channel
Annotations
@throws
(
...
)
final
def
awaitWriters
()
:
Unit
Attributes
protected
Definition Classes
Channel
Annotations
@throws
(
...
)
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
close
()
:
Unit
Definition Classes
SyncChannel
→
WriteChannel
Annotations
@throws
(
...
)
var
closed
:
Boolean
Attributes
protected
Definition Classes
Channel
val
crd
:
Condition
Attributes
protected
Definition Classes
Channel
val
cwr
:
Condition
Attributes
protected
Definition Classes
Channel
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
fetchValueOpt
()
:
Option
[
T
]
Attributes
protected
Definition Classes
SyncChannel
→
Channel
def
filter
(
f: (
T
) ⇒
Boolean
)
:
ReadChannel
[
T
]
Definition Classes
ReadChannel
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
foreach
[
U
]
(
f: (
T
) ⇒
U
)
:
Unit
Definition Classes
Channel
→
ReadChannel
Annotations
@throws
(
...
)
final
def
fornew
[
U
]
(
f: (
T
) ⇒
U
)
:
Unit
Definition Classes
Channel
→
ReadChannel
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
hasCapacity
:
Boolean
Attributes
protected
Definition Classes
SyncChannel
→
Channel
final
def
hasMessages
:
Boolean
Attributes
protected
Definition Classes
SyncChannel
→
Channel
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isClosed
:
Boolean
Definition Classes
SyncChannel
→
ChannelLike
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
lock
:
ReentrantLock
Attributes
protected
Definition Classes
Channel
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
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
notifyReaders
()
:
Unit
Attributes
protected
Definition Classes
Channel
final
def
notifyWriters
()
:
Unit
Attributes
protected
Definition Classes
Channel
val
readWaiters
:
SimpleLinkedList
[
Waiter
]
Attributes
protected
Definition Classes
Channel
var
readers
:
Int
Attributes
protected
Definition Classes
Channel
final
def
recv
()
:
T
Definition Classes
SyncChannel
→
ReadChannel
Annotations
@throws
(
...
)
final
def
recver
(
action: (
T
) ⇒
Unit
)
:
Selector
Definition Classes
Channel
→
ReadChannel
final
def
send
(
value:
T
)
:
Unit
Definition Classes
SyncChannel
→
WriteChannel
Annotations
@throws
(
...
)
final
def
sender
(
value:
T
)
(
action: ⇒
Unit
=
{}
)
:
Selector
Definition Classes
Channel
→
WriteChannel
var
sender
:
Long
Attributes
protected
var
syncValue
:
Option
[
T
]
Attributes
protected
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
tryRecv
(
timeout:
Duration
)
:
Option
[
T
]
Definition Classes
SyncChannel
→
ReadChannel
Annotations
@throws
(
...
)
final
def
tryRecv
()
:
Option
[
T
]
Definition Classes
SyncChannel
→
ReadChannel
final
def
trySend
(
value:
T
,
timeout:
Duration
)
:
Boolean
Definition Classes
SyncChannel
→
WriteChannel
Annotations
@throws
(
...
)
final
def
trySend
(
value:
T
)
:
Boolean
Definition Classes
SyncChannel
→
WriteChannel
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withFilter
(
f: (
T
) ⇒
Boolean
)
:
ReadChannel
[
T
]
Definition Classes
ReadChannel
val
writeWaiters
:
SimpleLinkedList
[
Waiter
]
Attributes
protected
Definition Classes
Channel
var
writers
:
Int
Attributes
protected
Definition Classes
Channel
Inherited from
Channel
[
T
]
Inherited from
WriteChannel
[
T
]
Inherited from
ReadChannel
[
T
]
Inherited from
ChannelLike
Inherited from
AnyRef
Inherited from
Any
Ungrouped