Index
All Classes and Interfaces|All Packages|Serialized Form
C
- cause() - Method in record class com.softwaremill.jox.ChannelError
-
Returns the value of the
cause
record component. - Channel<T> - Class in com.softwaremill.jox
-
Channel is a thread-safe data structure which exposes three basic operations:
- Channel() - Constructor for class com.softwaremill.jox.Channel
-
Creates a rendezvous channel.
- Channel(int) - Constructor for class com.softwaremill.jox.Channel
-
Creates a buffered channel (when capacity is positive), or a rendezvous channel if the capacity is 0.
- ChannelClosed - Interface in com.softwaremill.jox
-
Returned by
Channel.sendSafe(Object)
andChannel.receiveSafe()
when the channel is closed. - ChannelClosedException - Exception Class in com.softwaremill.jox
-
Thrown by
Channel.send(Object)
andChannel.receive()
when the channel is closed. - ChannelClosedException() - Constructor for exception class com.softwaremill.jox.ChannelClosedException
- ChannelClosedException(Throwable) - Constructor for exception class com.softwaremill.jox.ChannelClosedException
- ChannelDone - Record Class in com.softwaremill.jox
- ChannelDone() - Constructor for record class com.softwaremill.jox.ChannelDone
-
Creates an instance of a
ChannelDone
record class. - ChannelDoneException - Exception Class in com.softwaremill.jox
- ChannelDoneException() - Constructor for exception class com.softwaremill.jox.ChannelDoneException
- ChannelError - Record Class in com.softwaremill.jox
- ChannelError(Throwable) - Constructor for record class com.softwaremill.jox.ChannelError
-
Creates an instance of a
ChannelError
record class. - ChannelErrorException - Exception Class in com.softwaremill.jox
- ChannelErrorException(Throwable) - Constructor for exception class com.softwaremill.jox.ChannelErrorException
- com.softwaremill.jox - module com.softwaremill.jox
- com.softwaremill.jox - package com.softwaremill.jox
D
- done() - Method in class com.softwaremill.jox.Channel
-
Close the channel, indicating that no more elements will be sent.
- doneSafe() - Method in class com.softwaremill.jox.Channel
-
Close the channel, indicating that no more elements will be sent.
E
- equals(Object) - Method in record class com.softwaremill.jox.ChannelDone
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.softwaremill.jox.ChannelError
-
Indicates whether some other object is "equal to" this one.
- error(Throwable) - Method in class com.softwaremill.jox.Channel
-
Close the channel, indicating an error.
- errorSafe(Throwable) - Method in class com.softwaremill.jox.Channel
-
Close the channel, indicating an error.
H
- hashCode() - Method in record class com.softwaremill.jox.ChannelDone
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.softwaremill.jox.ChannelError
-
Returns a hash code value for this object.
I
- isClosed() - Method in class com.softwaremill.jox.Channel
- isDone() - Method in class com.softwaremill.jox.Channel
- isError() - Method in class com.softwaremill.jox.Channel
R
- receive() - Method in class com.softwaremill.jox.Channel
-
Receive a value from the channel.
- receiveSafe() - Method in class com.softwaremill.jox.Channel
-
Receive a value from the channel.
S
- send(T) - Method in class com.softwaremill.jox.Channel
-
Send a value to the channel.
- sendSafe(T) - Method in class com.softwaremill.jox.Channel
-
Send a value to the channel.
T
- toException() - Method in interface com.softwaremill.jox.ChannelClosed
- toException() - Method in record class com.softwaremill.jox.ChannelDone
- toException() - Method in record class com.softwaremill.jox.ChannelError
- toString() - Method in class com.softwaremill.jox.Channel
- toString() - Method in record class com.softwaremill.jox.ChannelDone
-
Returns a string representation of this record class.
- toString() - Method in record class com.softwaremill.jox.ChannelError
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages|Serialized Form