public interface StandardChannel<Message> extends Channel<Message>
ReceivePort.EOFException| Modifier and Type | Method and Description |
|---|---|
int |
capacity()
The channel's internal buffer capacity.
|
boolean |
isSingleConsumer()
Whether or not the channel supports a single consumer only.
|
boolean |
isSingleProducer()
Whether or not the channel supports a single producer only.
|
close, send, send, send, trySendreceive, receive, receive, tryReceiveclose, isClosedint capacity()
-1 for an unbounded buffer, and 0 for a transfer channel.boolean isSingleProducer()
true if the channel supports no more than one producer; false otherwise.boolean isSingleConsumer()
true if the channel supports no more than one consumer; false otherwise.