Index

C D E F H I N R S T 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

cause() - Method in record class com.softwaremill.jox.ChannelError
Returns the value of the cause record component.
channel() - Method in interface com.softwaremill.jox.ChannelClosed
 
channel() - Method in record class com.softwaremill.jox.ChannelDone
Returns the value of the channel record component.
channel() - Method in record class com.softwaremill.jox.ChannelError
Returns the value of the channel record component.
Channel<T> - Class in com.softwaremill.jox
Channel is a thread-safe data structure which exposes three basic operations:
ChannelClosed - Interface in com.softwaremill.jox
Returned by Channel.sendOrClosed(Object) and Channel.receiveOrClosed() when the channel is closed.
ChannelClosedException - Exception Class in com.softwaremill.jox
Thrown by Channel.send(Object) and Channel.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(Channel<?>) - 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, Channel<?>) - 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
 
CloseableChannel - Interface in com.softwaremill.jox
A channel which can be closed.
closedForReceive() - Method in class com.softwaremill.jox.Channel
 
closedForReceive() - Method in interface com.softwaremill.jox.CloseableChannel
 
closedForSend() - Method in class com.softwaremill.jox.Channel
 
closedForSend() - Method in interface com.softwaremill.jox.CloseableChannel
 
com.softwaremill.jox - module com.softwaremill.jox
 
com.softwaremill.jox - package com.softwaremill.jox
 

D

DEFAULT_BUFFER_SIZE - Static variable in class com.softwaremill.jox.Channel
 
defaultClause(Supplier<T>) - Static method in class com.softwaremill.jox.Select
 
defaultClause(T) - Static method in class com.softwaremill.jox.Select
 
done() - Method in class com.softwaremill.jox.Channel
 
done() - Method in interface com.softwaremill.jox.CloseableChannel
Close the channel, indicating that no more elements will be sent.
doneOrClosed() - Method in class com.softwaremill.jox.Channel
 
doneOrClosed() - Method in interface com.softwaremill.jox.CloseableChannel
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
 
error(Throwable) - Method in interface com.softwaremill.jox.CloseableChannel
Close the channel, indicating an error.
errorOrClosed(Throwable) - Method in class com.softwaremill.jox.Channel
 
errorOrClosed(Throwable) - Method in interface com.softwaremill.jox.CloseableChannel
Close the channel, indicating an error.

F

forEach(Consumer<T>) - Method in interface com.softwaremill.jox.Source
Invokes the given function for each received element.

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

isClosedForReceive() - Method in interface com.softwaremill.jox.CloseableChannel
 
isClosedForSend() - Method in interface com.softwaremill.jox.CloseableChannel
 

N

newBufferedChannel(int) - Static method in class com.softwaremill.jox.Channel
 
newBufferedDefaultChannel() - Static method in class com.softwaremill.jox.Channel
Creates a new buffered channel, with the default buffer size (16).
newRendezvousChannel() - Static method in class com.softwaremill.jox.Channel
 
newUnlimitedChannel() - Static method in class com.softwaremill.jox.Channel
 

R

receive() - Method in class com.softwaremill.jox.Channel
 
receive() - Method in interface com.softwaremill.jox.Source
Receive a value from the channel.
receiveClause() - Method in class com.softwaremill.jox.Channel
 
receiveClause() - Method in interface com.softwaremill.jox.Source
Create a clause which can be used in Select.select(SelectClause[]).
receiveClause(Function<T, U>) - Method in class com.softwaremill.jox.Channel
 
receiveClause(Function<T, U>) - Method in interface com.softwaremill.jox.Source
Create a clause which can be used in Select.select(SelectClause[]).
receiveOrClosed() - Method in class com.softwaremill.jox.Channel
 
receiveOrClosed() - Method in interface com.softwaremill.jox.Source
Receive a value from the channel.

S

select(SelectClause<? extends U>...) - Static method in class com.softwaremill.jox.Select
Select exactly one clause to complete.
Select - Class in com.softwaremill.jox
 
Select() - Constructor for class com.softwaremill.jox.Select
 
SelectClause<T> - Class in com.softwaremill.jox
A clause to use as part of Select.select(SelectClause[]).
SelectClause() - Constructor for class com.softwaremill.jox.SelectClause
 
selectOrClosed(SelectClause<? extends U>...) - Static method in class com.softwaremill.jox.Select
Select exactly one clause to complete.
send(T) - Method in class com.softwaremill.jox.Channel
 
send(T) - Method in interface com.softwaremill.jox.Sink
Send a value to the channel.
sendClause(T) - Method in class com.softwaremill.jox.Channel
 
sendClause(T) - Method in interface com.softwaremill.jox.Sink
Create a clause which can be used in Select.select(SelectClause[]).
sendClause(T, Supplier<U>) - Method in class com.softwaremill.jox.Channel
 
sendClause(T, Supplier<U>) - Method in interface com.softwaremill.jox.Sink
Create a clause which can be used in Select.select(SelectClause[]).
sendOrClosed(T) - Method in class com.softwaremill.jox.Channel
 
sendOrClosed(T) - Method in interface com.softwaremill.jox.Sink
Send a value to the channel.
Sink<T> - Interface in com.softwaremill.jox
A channel sink, which can be used to send values to the channel.
Source<T> - Interface in com.softwaremill.jox
A channel source, which can be used to receive values from 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
 
toList() - Method in interface com.softwaremill.jox.Source
Accumulates all elements received from the channel into a list.
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.
C D E F H I N R S T 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form