Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractChannelConsumer<T> - Class in io.activej.csp.consumer
- AbstractChannelConsumer() - Constructor for class io.activej.csp.consumer.AbstractChannelConsumer
- AbstractChannelConsumer(AsyncCloseable) - Constructor for class io.activej.csp.consumer.AbstractChannelConsumer
- AbstractChannelSupplier<T> - Class in io.activej.csp.supplier
- AbstractChannelSupplier() - Constructor for class io.activej.csp.supplier.AbstractChannelSupplier
- AbstractChannelSupplier(AsyncCloseable) - Constructor for class io.activej.csp.supplier.AbstractChannelSupplier
- AbstractChannelTransformer<S extends AbstractChannelTransformer<S,
I, O>, I, O> - Class in io.activej.csp.process.transformer - AbstractChannelTransformer() - Constructor for class io.activej.csp.process.transformer.AbstractChannelTransformer
- AbstractCommunicatingProcess - Class in io.activej.csp.process
-
An abstract AsyncProcess which describes interactions between ChannelSupplier and ChannelConsumer.
- AbstractCommunicatingProcess() - Constructor for class io.activej.csp.process.AbstractCommunicatingProcess
- AbstractCommunicatingProcess.SanitizedBinaryChannelSupplier - Class in io.activej.csp.process
- accept(T) - Method in class io.activej.csp.consumer.AbstractChannelConsumer
- accept(T) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Consumes a provided value and returns a
Promiseas a marker of success. - acceptAll(Iterator<? extends T>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Passes iterator's values to the
outputuntil ithasNext(), then returns a promise ofnullas a marker of completion. - acceptAll(List<T>) - Method in interface io.activej.csp.consumer.ChannelConsumer
- acceptAll(T...) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Accepts provided items and returns
Promiseas a marker of completion. - acceptEndOfStream() - Method in interface io.activej.csp.consumer.ChannelConsumer
- add(T) - Method in class io.activej.csp.queue.ChannelBuffer
-
Adds provided item to the buffer and resets current
take. - addInput() - Method in interface io.activej.csp.dsl.WithChannelInputs
- addOutput() - Method in interface io.activej.csp.dsl.WithChannelOutputs
- addOutput() - Method in class io.activej.csp.process.ChannelSplitter
- afterProcess(Exception) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- andThen(DecoderFunction<? super T, ? extends V>) - Method in interface io.activej.csp.binary.decoder.ByteBufsDecoder
- anotherReactor - Variable in class io.activej.csp.consumer.impl.OfAnotherReactor
- anotherReactor - Variable in class io.activej.csp.supplier.impl.OfAnotherReactor
- anotherReactorConsumer - Variable in class io.activej.csp.consumer.impl.OfAnotherReactor
- anotherReactorSupplier - Variable in class io.activej.csp.supplier.impl.OfAnotherReactor
- assertBytes(byte[]) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- async() - Method in interface io.activej.csp.consumer.ChannelConsumer
- async() - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier and makes its promise complete asynchronously.
B
- beforeProcess() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- beforeProcess() - Method in class io.activej.csp.process.ChannelSplitter
- beforeProcess() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- BinaryChannelInput - Interface in io.activej.csp.binary
- BinaryChannelSupplier - Class in io.activej.csp.binary
- BinaryChannelSupplier() - Constructor for class io.activej.csp.binary.BinaryChannelSupplier
- BinaryChannelSupplier(ByteBufs) - Constructor for class io.activej.csp.binary.BinaryChannelSupplier
- bindTo(BinaryChannelInput) - Method in class io.activej.csp.binary.BinaryChannelSupplier
- bindTo(ChannelInput<T>) - Method in interface io.activej.csp.ChannelOutput
- bindTo(ChannelInput<T>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Binds this ChannelSupplier to provided
ChannelInput - bindTo(ChannelInput<T>, ChannelQueue<T>) - Method in interface io.activej.csp.ChannelOutput
- BlockDecoder - Interface in io.activej.csp.process.frame
-
Defines methods to decode data encoded using as blocks
- BlockEncoder - Interface in io.activej.csp.process.frame
-
Defines methods to encode incoming data into Data Blocks
- bufs - Variable in class io.activej.csp.binary.BinaryChannelSupplier
- bufs - Variable in class io.activej.csp.process.transformer.impl.ByteChunker
- bufSize - Variable in class io.activej.csp.supplier.impl.OfInputStream
- builder() - Static method in class io.activej.csp.process.ChannelSplitter
- builder() - Static method in class io.activej.csp.process.frame.impl.LZ4
- builder() - Static method in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- builder(double, ChronoUnit) - Static method in class io.activej.csp.process.transformer.impl.RateLimiter
- builder(IFileService, FileChannel) - Static method in class io.activej.csp.file.ChannelFileReader
- builder(IFileService, FileChannel) - Static method in class io.activej.csp.file.ChannelFileWriter
- builder(BlockDecoder) - Static method in class io.activej.csp.process.frame.ChannelFrameDecoder
- builder(BlockEncoder) - Static method in class io.activej.csp.process.frame.ChannelFrameEncoder
- builder(FrameFormat) - Static method in class io.activej.csp.process.frame.ChannelFrameDecoder
- builder(FrameFormat) - Static method in class io.activej.csp.process.frame.ChannelFrameEncoder
- builder(ChannelSupplier<T>) - Static method in class io.activej.csp.process.ChannelSplitter
- builder(Reactor, Executor, FileChannel) - Static method in class io.activej.csp.file.ChannelFileReader
- builder(Reactor, Executor, FileChannel) - Static method in class io.activej.csp.file.ChannelFileWriter
- builderBlocking(Reactor, Executor, Path) - Static method in class io.activej.csp.file.ChannelFileReader
- builderBlocking(Reactor, Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileReader
- builderBlocking(Reactor, Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileWriter
- builderOpen(Executor, Path) - Static method in class io.activej.csp.file.ChannelFileReader
- builderOpen(Executor, Path) - Static method in class io.activej.csp.file.ChannelFileWriter
- builderOpen(Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileReader
- builderOpen(Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileWriter
- ByteBufsCodec<I,
O> - Interface in io.activej.csp.binary.codec - ByteBufsCodecs - Class in io.activej.csp.binary.codec
- ByteBufsCodecs() - Constructor for class io.activej.csp.binary.codec.ByteBufsCodecs
- ByteBufsDecoder<T> - Interface in io.activej.csp.binary.decoder
- ByteBufsDecoders - Class in io.activej.csp.binary.decoder
- ByteBufsDecoders() - Constructor for class io.activej.csp.binary.decoder.ByteBufsDecoders
- ByteChunker - Class in io.activej.csp.process.transformer.impl
- ByteChunker(int, int) - Constructor for class io.activej.csp.process.transformer.impl.ByteChunker
- ByteRanger - Class in io.activej.csp.process.transformer.impl
-
Drops exactly N bytes from a csp stream of byte buffers and limits that stream to exactly M bytes in length
- ByteRanger(long, long) - Constructor for class io.activej.csp.process.transformer.impl.ByteRanger
C
- ChannelBuffer<T> - Class in io.activej.csp.queue
-
Represents a queue of elements which you can
putandtake. - ChannelBuffer(int) - Constructor for class io.activej.csp.queue.ChannelBuffer
- ChannelBuffer(int, int) - Constructor for class io.activej.csp.queue.ChannelBuffer
-
Creates a ChannelBuffer with the buffer size of the next highest power of 2 (for example, if
bufferMinxSize = 113, a buffer of 128 elements will be created). - ChannelBufferWithFallback<T> - Class in io.activej.csp.queue
- ChannelBufferWithFallback(ChannelQueue<T>, Supplier<Promise<? extends ChannelQueue<T>>>) - Constructor for class io.activej.csp.queue.ChannelBufferWithFallback
- ChannelConsumer<T> - Interface in io.activej.csp.consumer
-
This interface represents consumer of data items that should be used serially (each consecutive
ChannelConsumer.accept(Object)operation should be called only after previousChannelConsumer.accept(Object)operation finishes) - channelConsumerAsOutputStream(Reactor, ChannelConsumer<ByteBuf>) - Static method in class io.activej.csp.binary.Utils
-
Creates an
OutputStreamout of a. - ChannelConsumers - Class in io.activej.csp.consumer
-
Provides static factories for instantiating various
ChannelConsumers. - ChannelConsumers() - Constructor for class io.activej.csp.consumer.ChannelConsumers
- ChannelConsumerTransformer<T,
R> - Interface in io.activej.csp.process.transformer - ChannelFileBuffer - Class in io.activej.csp.queue
- ChannelFileReader - Class in io.activej.csp.file
-
This supplier allows you to asynchronously read binary data from a file.
- ChannelFileReader.Builder - Class in io.activej.csp.file
- ChannelFileWriter - Class in io.activej.csp.file
-
This consumer allows you to asynchronously write binary data to a file.
- ChannelFileWriter.Builder - Class in io.activej.csp.file
- ChannelFrameDecoder - Class in io.activej.csp.process.frame
- ChannelFrameDecoder.Builder - Class in io.activej.csp.process.frame
- ChannelFrameEncoder - Class in io.activej.csp.process.frame
- ChannelFrameEncoder.Builder - Class in io.activej.csp.process.frame
- ChannelInput<T> - Interface in io.activej.csp
- ChannelOutput<T> - Interface in io.activej.csp
- ChannelQueue<T> - Interface in io.activej.csp.queue
-
Represents a queue of elements, which you can
putortaketo pass fromChannelConsumertoChannelSupplier. - ChannelSplitter<T> - Class in io.activej.csp.process
- ChannelSplitter.Builder - Class in io.activej.csp.process
- ChannelSupplier<T> - Interface in io.activej.csp.supplier
-
This interface represents supplier of
Promiseof data that should be used serially (each consecutiveChannelSupplier.get()) operation should be called only after previousChannelSupplier.get()operation finishes. - channelSupplierAsInputStream(Reactor, ChannelSupplier<ByteBuf>) - Static method in class io.activej.csp.binary.Utils
-
Creates an
InputStreamout of aChannelSupplier<io.activej.bytebuf.ByteBuf>. - ChannelSuppliers - Class in io.activej.csp.supplier
-
Provides additional functionality for managing
ChannelSuppliers. - ChannelSuppliers() - Constructor for class io.activej.csp.supplier.ChannelSuppliers
- ChannelSupplierTransformer<T,
R> - Interface in io.activej.csp.process.transformer - ChannelTransformer<I,
O> - Interface in io.activej.csp.process.transformer - ChannelTransformers - Class in io.activej.csp.process.transformer
- ChannelTransformers() - Constructor for class io.activej.csp.process.transformer.ChannelTransformers
- ChannelZeroBuffer<T> - Class in io.activej.csp.queue
-
Represents a buffer of zero capacity and stores only one value.
- ChannelZeroBuffer() - Constructor for class io.activej.csp.queue.ChannelZeroBuffer
- CHECKS - Static variable in class io.activej.csp.process.frame.impl.LZ4
- chunkBytes(MemSize, MemSize) - Static method in class io.activej.csp.process.transformer.ChannelTransformers
- close() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
-
Closes this process with
AsyncCloseException - closeEx(Exception) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
-
Closes this process if it is not completed yet.
- closeEx(Exception) - Method in class io.activej.csp.queue.ChannelBuffer
-
Closes the buffer if this
exceptionis notnull. - closeEx(Exception) - Method in class io.activej.csp.queue.ChannelBufferWithFallback
- closeEx(Exception) - Method in class io.activej.csp.queue.ChannelFileBuffer
- closeEx(Exception) - Method in class io.activej.csp.queue.ChannelZeroBuffer
-
Closes the buffer if this
exceptionis notnull. - collect(ChannelSupplier<T>, A, BiConsumerEx<A, T>, FunctionEx<A, R>) - Static method in interface io.activej.csp.supplier.ChannelSupplier
-
Collects data provided by the
supplierasynchronously and returns a promise of accumulated result. - completeProcess() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- completeProcessEx(Exception) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- compound(FrameFormat, FrameFormat...) - Static method in class io.activej.csp.process.frame.FrameFormats
-
A combination of different frame formats.
- Compound - Class in io.activej.csp.process.frame.impl
- Compound(List<FrameFormat>) - Constructor for class io.activej.csp.process.frame.impl.Compound
- compressionLevel - Variable in class io.activej.csp.process.frame.impl.LZ4
- compressionLevel - Variable in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- concat(ChannelSupplier<? extends T>...) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- concat(ChannelSupplier<? extends T>, ChannelSupplier<? extends T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- concat(Iterator<? extends ChannelSupplier<? extends T>>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates a new ChannelSupplier which on
get()call returns the result wrapped inpromiseof the first ChannelSuppliers'promisethat was successfully completed with a non-null result. - concat(List<ChannelSupplier<? extends T>>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- Concat<T> - Class in io.activej.csp.supplier.impl
- Concat(Iterator<? extends ChannelSupplier<? extends T>>, boolean) - Constructor for class io.activej.csp.supplier.impl.Concat
- consume(int, byte) - Method in class io.activej.csp.binary.Utils.IntByteScanner
- consume(int, byte) - Method in class io.activej.csp.binary.Utils.VarIntByteScanner
- consume(int, byte) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Decoder.IntLeByteScanner
-
Deprecated.
- consume(int, byte) - Method in class io.activej.csp.process.frame.impl.SizePrefixed.LengthByteScanner
- consumer - Variable in class io.activej.csp.consumer.impl.OfAsyncConsumer
- consumer - Variable in class io.activej.csp.consumer.impl.OfConsumer
- consumer - Variable in class io.activej.csp.consumer.impl.OfLazyProvider
- consumer - Variable in class io.activej.csp.consumer.impl.OfPromise
- create() - Static method in class io.activej.csp.process.ChannelSplitter
- create() - Static method in class io.activej.csp.process.frame.impl.LZ4
- create() - Static method in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- create(double, ChronoUnit) - Static method in class io.activej.csp.process.transformer.impl.RateLimiter
- create(IFileService, FileChannel) - Static method in class io.activej.csp.file.ChannelFileReader
- create(IFileService, FileChannel) - Static method in class io.activej.csp.file.ChannelFileWriter
- create(BlockDecoder) - Static method in class io.activej.csp.process.frame.ChannelFrameDecoder
- create(BlockEncoder) - Static method in class io.activej.csp.process.frame.ChannelFrameEncoder
- create(FrameFormat) - Static method in class io.activej.csp.process.frame.ChannelFrameDecoder
- create(FrameFormat) - Static method in class io.activej.csp.process.frame.ChannelFrameEncoder
- create(ChannelSupplier<T>) - Static method in class io.activej.csp.process.ChannelSplitter
- create(ITcpSocket, ByteBufsCodec<I, O>) - Static method in class io.activej.csp.net.Messaging
- create(Reactor, Executor, FileChannel) - Static method in class io.activej.csp.file.ChannelFileReader
- create(Reactor, Executor, FileChannel) - Static method in class io.activej.csp.file.ChannelFileWriter
- create(Executor, Path) - Static method in class io.activej.csp.queue.ChannelFileBuffer
- create(Executor, Path, MemSize) - Static method in class io.activej.csp.queue.ChannelFileBuffer
- createDecoder() - Method in interface io.activej.csp.process.frame.FrameFormat
-
Creates a decoder which decodes data encoded by
BlockEncoder - createDecoder() - Method in class io.activej.csp.process.frame.impl.Compound
- createDecoder() - Method in class io.activej.csp.process.frame.impl.Identity
- createDecoder() - Method in class io.activej.csp.process.frame.impl.LZ4
- createDecoder() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- createDecoder() - Method in class io.activej.csp.process.frame.impl.MagicNumberAdapter
- createDecoder() - Method in class io.activej.csp.process.frame.impl.SizePrefixed
- createEncoder() - Method in interface io.activej.csp.process.frame.FrameFormat
-
Creates an encoder which transforms input bufs into bufs of encoded data
- createEncoder() - Method in class io.activej.csp.process.frame.impl.Compound
- createEncoder() - Method in class io.activej.csp.process.frame.impl.Identity
- createEncoder() - Method in class io.activej.csp.process.frame.impl.LZ4
- createEncoder() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- createEncoder() - Method in class io.activej.csp.process.frame.impl.MagicNumberAdapter
- createEncoder() - Method in class io.activej.csp.process.frame.impl.SizePrefixed
- current - Variable in class io.activej.csp.supplier.impl.Concat
D
- decode(ByteBufs) - Method in interface io.activej.csp.process.frame.BlockDecoder
-
Attempts to decode data blocks contained in a
ByteBufs. - decode(ByteBufs) - Method in class io.activej.csp.process.frame.impl.LZ4.Decoder
- decode(ByteBufs) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Decoder
-
Deprecated.
- decode(ByteBufsDecoder<T>) - Method in class io.activej.csp.binary.BinaryChannelSupplier
- decodeRemaining(ByteBufsDecoder<T>) - Method in class io.activej.csp.binary.BinaryChannelSupplier
- decodeStream(ByteBufsDecoder<T>) - Method in class io.activej.csp.binary.BinaryChannelSupplier
- DEFAULT_BUFFER_SIZE - Static variable in class io.activej.csp.file.ChannelFileReader
- delimiterIn - Variable in class io.activej.csp.binary.codec.impl.OfDelimiter
- delimiterOut - Variable in class io.activej.csp.binary.codec.impl.OfDelimiter
- doAccept(ByteBuf) - Method in class io.activej.csp.consumer.impl.OfOutputStream
- doAccept(ByteBuf) - Method in class io.activej.csp.file.ChannelFileWriter
- doAccept(T) - Method in class io.activej.csp.consumer.AbstractChannelConsumer
- doAccept(T) - Method in class io.activej.csp.consumer.impl.OfAnotherReactor
- doAccept(T) - Method in class io.activej.csp.consumer.impl.OfAsyncConsumer
- doAccept(T) - Method in class io.activej.csp.consumer.impl.OfConsumer
- doAccept(T) - Method in class io.activej.csp.consumer.impl.OfException
- doAccept(T) - Method in class io.activej.csp.consumer.impl.OfLazyProvider
- doAccept(T) - Method in class io.activej.csp.consumer.impl.OfPromise
- doAccept(T) - Method in class io.activej.csp.consumer.impl.Recycling
- doBuild() - Method in class io.activej.csp.file.ChannelFileReader.Builder
- doBuild() - Method in class io.activej.csp.file.ChannelFileWriter.Builder
- doBuild() - Method in class io.activej.csp.process.ChannelSplitter.Builder
- doBuild() - Method in class io.activej.csp.process.frame.ChannelFrameDecoder.Builder
- doBuild() - Method in class io.activej.csp.process.frame.ChannelFrameEncoder.Builder
- doBuild() - Method in class io.activej.csp.process.frame.impl.LZ4.Builder
- doBuild() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- doBuild() - Method in class io.activej.csp.process.transformer.impl.RateLimiter.Builder
- doClose(Exception) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
-
An operation which is executed in case of manual closing.
- doClose(Exception) - Method in class io.activej.csp.process.ChannelSplitter
- doClose(Exception) - Method in class io.activej.csp.process.frame.ChannelFrameDecoder
- doClose(Exception) - Method in class io.activej.csp.process.frame.ChannelFrameEncoder
- doClose(Exception) - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- doGet() - Method in class io.activej.csp.file.ChannelFileReader
- doGet() - Method in class io.activej.csp.supplier.AbstractChannelSupplier
- doGet() - Method in class io.activej.csp.supplier.impl.Concat
- doGet() - Method in class io.activej.csp.supplier.impl.Empty
- doGet() - Method in class io.activej.csp.supplier.impl.OfAnotherReactor
- doGet() - Method in class io.activej.csp.supplier.impl.OfAsyncSupplier
- doGet() - Method in class io.activej.csp.supplier.impl.OfException
- doGet() - Method in class io.activej.csp.supplier.impl.OfInputStream
- doGet() - Method in class io.activej.csp.supplier.impl.OfIterator
- doGet() - Method in class io.activej.csp.supplier.impl.OfLazyProvider
- doGet() - Method in class io.activej.csp.supplier.impl.OfPromise
- doGet() - Method in class io.activej.csp.supplier.impl.OfSupplier
- doGet() - Method in class io.activej.csp.supplier.impl.OfValue
- doGet() - Method in class io.activej.csp.supplier.impl.Remap
- doProcess() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
-
Describes the main operations of the communicating process.
- doProcess() - Method in class io.activej.csp.process.ChannelSplitter
- doProcess() - Method in class io.activej.csp.process.frame.ChannelFrameDecoder
- doProcess() - Method in class io.activej.csp.process.frame.ChannelFrameEncoder
- doProcess() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- doSanitize(T, Exception) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
-
Closes this process and returns a promise of
eexception if providedeis notnull. - dropBytes(long) - Static method in class io.activej.csp.process.transformer.ChannelTransformers
E
- empty() - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates a
ChannelSupplierwhich is empty (always returns a promise ofnull) - Empty<T> - Class in io.activej.csp.supplier.impl
- Empty() - Constructor for class io.activej.csp.supplier.impl.Empty
- encode(ByteBuf) - Method in class io.activej.csp.binary.codec.impl.OfDelimiter
- encode(ByteBuf) - Method in interface io.activej.csp.process.frame.BlockEncoder
-
Encodes input
ByteBufas a Data Block. - encode(ByteBuf) - Method in class io.activej.csp.process.frame.impl.LZ4.Encoder
- encode(ByteBuf) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Encoder
-
Deprecated.
- encode(O) - Method in interface io.activej.csp.binary.codec.ByteBufsCodec
- encode(O) - Method in class io.activej.csp.binary.codec.impl.OfStreamCodecs
- encodeEndOfStreamBlock() - Method in interface io.activej.csp.process.frame.BlockEncoder
-
Encodes an End-Of-Stream Block which indicates an end of stream.
- encodeEndOfStreamBlock() - Method in class io.activej.csp.process.frame.impl.LZ4.Encoder
- encodeEndOfStreamBlock() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Encoder
-
Deprecated.
- END_OF_STREAM - Static variable in interface io.activej.csp.process.frame.BlockDecoder
-
A 'sentinel' value that indicates end of stream.
- endOffset - Variable in class io.activej.csp.process.transformer.impl.ByteRanger
- endOfStream - Variable in class io.activej.csp.supplier.impl.Remap
- endOfStream() - Method in class io.activej.csp.binary.BinaryChannelSupplier
- endOfStream() - Method in class io.activej.csp.process.AbstractCommunicatingProcess.SanitizedBinaryChannelSupplier
- exception - Variable in class io.activej.csp.consumer.impl.OfException
- exception - Variable in class io.activej.csp.supplier.impl.OfException
- executor - Variable in class io.activej.csp.consumer.impl.OfOutputStream
- executor - Variable in class io.activej.csp.supplier.impl.OfInputStream
F
- factory - Variable in class io.activej.csp.process.frame.impl.LZ4
- fillInStackTrace() - Method in exception io.activej.csp.process.ProcessCompleteException
- filter(Predicate<? super T>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Creates a wrapper ChannelConsumer - when its
accept(T value)is called, current ChannelConsumer will accept the value only of it passesPredicatetest. - filter(Predicate<? super T>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier and checks if its Promise's value(s) match(es) the predicate, leaving only those value(s) which pass the test. - fn - Variable in class io.activej.csp.supplier.impl.Remap
- forByteBufs() - Static method in interface io.activej.csp.process.transformer.impl.RateLimiter.Tokenizer
- formats - Variable in class io.activej.csp.process.frame.impl.Compound
- FrameFormat - Interface in io.activej.csp.process.frame
-
This interface specifies data encoding format which utilizes block structure.
- FrameFormats - Class in io.activej.csp.process.frame
- FrameFormats() - Constructor for class io.activej.csp.process.frame.FrameFormats
G
- get() - Method in class io.activej.csp.supplier.AbstractChannelSupplier
- get() - Method in interface io.activej.csp.supplier.ChannelSupplier
- getBufs() - Method in class io.activej.csp.binary.BinaryChannelSupplier
- getConsumer() - Method in interface io.activej.csp.ChannelInput
- getConsumer() - Method in interface io.activej.csp.queue.ChannelQueue
-
Returns a
ChannelConsumerwhich puts value in this queue whenaccept(T value)is called. - getConsumer(ChannelQueue<T>) - Method in interface io.activej.csp.ChannelInput
- getConsumer(Promise<Void>) - Method in interface io.activej.csp.queue.ChannelQueue
-
Returns a
ChannelConsumerwhich puts non-null value in this queue whenaccept(T value)is called. - getException() - Method in class io.activej.csp.queue.ChannelBuffer
- getException() - Method in class io.activej.csp.queue.ChannelBufferWithFallback
- getException() - Method in class io.activej.csp.queue.ChannelFileBuffer
- getException() - Method in class io.activej.csp.queue.ChannelZeroBuffer
- getInput() - Method in interface io.activej.csp.dsl.HasBinaryChannelInput
- getInput() - Method in interface io.activej.csp.dsl.HasChannelInput
- getInput() - Method in class io.activej.csp.process.ChannelSplitter
- getInput() - Method in class io.activej.csp.process.frame.ChannelFrameDecoder
- getInput() - Method in class io.activej.csp.process.frame.ChannelFrameEncoder
- getInput() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- getOutput() - Method in interface io.activej.csp.dsl.HasChannelOutput
- getOutput() - Method in class io.activej.csp.process.frame.ChannelFrameDecoder
- getOutput() - Method in class io.activej.csp.process.frame.ChannelFrameEncoder
- getOutput() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- getPosition() - Method in class io.activej.csp.file.ChannelFileReader
- getPosition() - Method in class io.activej.csp.file.ChannelFileWriter
- getProcessCompletion() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- getResult() - Method in class io.activej.csp.binary.Utils.VarIntByteScanner
- getSupplier() - Method in interface io.activej.csp.ChannelOutput
- getSupplier() - Method in interface io.activej.csp.queue.ChannelQueue
- getSupplier(ChannelQueue<T>) - Method in interface io.activej.csp.ChannelOutput
- getTokens(T) - Method in interface io.activej.csp.process.transformer.impl.RateLimiter.Tokenizer
- getUnsanitizedSupplier() - Method in class io.activej.csp.process.AbstractCommunicatingProcess.SanitizedBinaryChannelSupplier
- getValue() - Method in class io.activej.csp.binary.Utils.IntByteScanner
- getValue() - Method in class io.activej.csp.supplier.impl.OfValue
H
- HasBinaryChannelInput - Interface in io.activej.csp.dsl
- HasChannelInput<T> - Interface in io.activej.csp.dsl
- HasChannelOutput<T> - Interface in io.activej.csp.dsl
- hashFactory - Variable in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- hasOutputs() - Method in class io.activej.csp.process.ChannelSplitter
I
- identity() - Static method in class io.activej.csp.process.frame.FrameFormats
-
A frame format that does not change incoming data in any way.
- identity() - Static method in interface io.activej.csp.process.transformer.ChannelConsumerTransformer
- identity() - Static method in interface io.activej.csp.process.transformer.ChannelSupplierTransformer
- identity() - Static method in class io.activej.csp.process.transformer.ChannelTransformers
- Identity - Class in io.activej.csp.process.frame.impl
- Identity() - Constructor for class io.activej.csp.process.frame.impl.Identity
- ignoreMissingEndOfStreamBlock - Variable in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- ignoreMissingEndOfStreamBlock() - Method in interface io.activej.csp.process.frame.BlockDecoder
-
Whether this decoder allows stream to end without End-Of-Stream Block.
- ignoreMissingEndOfStreamBlock() - Method in class io.activej.csp.process.frame.impl.LZ4.Decoder
- ignoreMissingEndOfStreamBlock() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Decoder
-
Deprecated.
- IMessaging<I,
O> - Interface in io.activej.csp.net - input - Variable in class io.activej.csp.binary.codec.impl.OfStreamCodecs
- input - Variable in class io.activej.csp.process.transformer.AbstractChannelTransformer
- inputStream - Variable in class io.activej.csp.supplier.impl.OfInputStream
- IntByteScanner() - Constructor for class io.activej.csp.binary.Utils.IntByteScanner
- IntLeByteScanner() - Constructor for class io.activej.csp.process.frame.impl.LZ4Legacy.Decoder.IntLeByteScanner
-
Deprecated.
- io.activej.csp - package io.activej.csp
- io.activej.csp.binary - package io.activej.csp.binary
- io.activej.csp.binary.codec - package io.activej.csp.binary.codec
- io.activej.csp.binary.codec.impl - package io.activej.csp.binary.codec.impl
- io.activej.csp.binary.decoder - package io.activej.csp.binary.decoder
- io.activej.csp.binary.decoder.impl - package io.activej.csp.binary.decoder.impl
- io.activej.csp.consumer - package io.activej.csp.consumer
- io.activej.csp.consumer.impl - package io.activej.csp.consumer.impl
- io.activej.csp.dsl - package io.activej.csp.dsl
- io.activej.csp.file - package io.activej.csp.file
- io.activej.csp.net - package io.activej.csp.net
- io.activej.csp.process - package io.activej.csp.process
- io.activej.csp.process.frame - package io.activej.csp.process.frame
- io.activej.csp.process.frame.impl - package io.activej.csp.process.frame.impl
- io.activej.csp.process.transformer - package io.activej.csp.process.transformer
- io.activej.csp.process.transformer.impl - package io.activej.csp.process.transformer.impl
- io.activej.csp.queue - package io.activej.csp.queue
- io.activej.csp.supplier - package io.activej.csp.supplier
- io.activej.csp.supplier.impl - package io.activej.csp.supplier.impl
- isEmpty() - Method in class io.activej.csp.queue.ChannelBuffer
-
Checks if this buffer contains elements.
- isExhausted() - Method in class io.activej.csp.queue.ChannelBuffer
-
Checks if this buffer has fewer elements than
bufferMinSize. - isExhausted() - Method in class io.activej.csp.queue.ChannelBufferWithFallback
- isExhausted() - Method in class io.activej.csp.queue.ChannelFileBuffer
- isExhausted() - Method in interface io.activej.csp.queue.ChannelQueue
- isExhausted() - Method in class io.activej.csp.queue.ChannelZeroBuffer
- isProcessComplete() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- isProcessStarted() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- isSaturated() - Method in class io.activej.csp.queue.ChannelBuffer
-
Checks if this buffer is saturated by comparing its current size with
bufferMaxSize. - isSaturated() - Method in class io.activej.csp.queue.ChannelBufferWithFallback
- isSaturated() - Method in class io.activej.csp.queue.ChannelFileBuffer
- isSaturated() - Method in interface io.activej.csp.queue.ChannelQueue
- isSaturated() - Method in class io.activej.csp.queue.ChannelZeroBuffer
- item - Variable in class io.activej.csp.supplier.impl.OfValue
- iterator - Variable in class io.activej.csp.supplier.impl.Concat
- iterator - Variable in class io.activej.csp.supplier.impl.OfIterator
- iterator - Variable in class io.activej.csp.supplier.impl.Remap
L
- lastRefillTimestamp - Variable in class io.activej.csp.process.transformer.impl.RateLimiter
- legacyChecksum - Variable in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- LengthByteScanner() - Constructor for class io.activej.csp.process.frame.impl.SizePrefixed.LengthByteScanner
- lenient() - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier. - limitBytes(long) - Static method in class io.activej.csp.process.transformer.ChannelTransformers
- lz4() - Static method in class io.activej.csp.process.frame.FrameFormats
-
Creates a default LZ4 frame format
- LZ4 - Class in io.activej.csp.process.frame.impl
- LZ4(LZ4Factory, int) - Constructor for class io.activej.csp.process.frame.impl.LZ4
- LZ4.Builder - Class in io.activej.csp.process.frame.impl
- LZ4.Decoder - Class in io.activej.csp.process.frame.impl
- LZ4.Encoder - Class in io.activej.csp.process.frame.impl
- lz4Factory - Variable in class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- lz4Legacy() - Static method in class io.activej.csp.process.frame.FrameFormats
-
Deprecated.
- LZ4Legacy - Class in io.activej.csp.process.frame.impl
-
Deprecated.
- LZ4Legacy(LZ4Factory, XXHashFactory, boolean, int, boolean) - Constructor for class io.activej.csp.process.frame.impl.LZ4Legacy
-
Deprecated.
- LZ4Legacy.Builder - Class in io.activej.csp.process.frame.impl
-
Deprecated.
- LZ4Legacy.Decoder - Class in io.activej.csp.process.frame.impl
-
Deprecated.
- LZ4Legacy.Decoder.IntLeByteScanner - Class in io.activej.csp.process.frame.impl
-
Deprecated.
- LZ4Legacy.Encoder - Class in io.activej.csp.process.frame.impl
-
Deprecated.
M
- magicNumber - Variable in class io.activej.csp.process.frame.impl.MagicNumberAdapter
- MagicNumberAdapter - Class in io.activej.csp.process.frame.impl
- MagicNumberAdapter(FrameFormat, byte[]) - Constructor for class io.activej.csp.process.frame.impl.MagicNumberAdapter
- map(FunctionEx<? super T, ? extends V>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier and when its Promise completes, applies providedfnto the result. - map(FunctionEx<? super V, ? extends T>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Creates a wrapper ChannelConsumer - when its
accept(T value)is called,fnwill be applied to the providedvaluefirst and the result of thefnwill be accepted by current ChannelConsumer. - mapAsync(Function<? super T, Promise<V>>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier and applies providedfnto its Promise asynchronously. - mapAsync(Function<? super V, Promise<T>>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Creates a wrapper ChannelConsumer - when its
accept(T value)is called,fnwill be applied to the providedvaluefirst and the result of thefnwill be accepted by current ChannelConsumer asynchronously. - MAX_BLOCK_SIZE - Static variable in class io.activej.csp.process.frame.impl.LZ4
- maxChunkSize - Variable in class io.activej.csp.process.transformer.impl.ByteChunker
- maxSize - Variable in class io.activej.csp.binary.decoder.impl.OfByteSizePrefixed
- maxSize - Variable in class io.activej.csp.binary.decoder.impl.OfByteTerminated
- maxSize - Variable in class io.activej.csp.binary.decoder.impl.OfCrlfTerminated
- maxSize - Variable in class io.activej.csp.binary.decoder.impl.OfIntSizePrefixed
- maxSize - Variable in class io.activej.csp.binary.decoder.impl.OfShortSizePrefixed
- maxSize - Variable in class io.activej.csp.binary.decoder.impl.OfVarIntSizePrefixed
- Messaging<I,
O> - Class in io.activej.csp.net -
Represents a simple binary protocol over for communication a TCP connection.
- minChunkSize - Variable in class io.activej.csp.process.transformer.impl.ByteChunker
- MissingEndOfStreamBlockException - Exception in io.activej.csp.process.frame
-
Exception indicates a stream that either is empty or ends with a complete Data Block (with no trailing data), missing End-Of-Stream Block
- MissingEndOfStreamBlockException(Throwable) - Constructor for exception io.activej.csp.process.frame.MissingEndOfStreamBlockException
N
- needMoreData() - Method in class io.activej.csp.binary.BinaryChannelSupplier
- needMoreData() - Method in class io.activej.csp.process.AbstractCommunicatingProcess.SanitizedBinaryChannelSupplier
- nullTerminated() - Static method in class io.activej.csp.binary.codec.ByteBufsCodecs
O
- of(ChannelSupplier<ByteBuf>) - Static method in class io.activej.csp.binary.BinaryChannelSupplier
- ofAnotherReactor(Reactor, ChannelConsumer<T>) - Static method in class io.activej.csp.consumer.ChannelConsumers
- ofAnotherReactor(Reactor, ChannelSupplier<T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- OfAnotherReactor<T> - Class in io.activej.csp.consumer.impl
- OfAnotherReactor<T> - Class in io.activej.csp.supplier.impl
- OfAnotherReactor(Reactor, ChannelConsumer<T>) - Constructor for class io.activej.csp.consumer.impl.OfAnotherReactor
- OfAnotherReactor(Reactor, ChannelSupplier<T>) - Constructor for class io.activej.csp.supplier.impl.OfAnotherReactor
- ofAsyncConsumer(AsyncConsumer<T>) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Wraps
AsyncConsumerinChannelConsumer. - ofAsyncConsumer(AsyncConsumer<T>, AsyncCloseable) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Wraps
AsyncConsumerinChannelConsumer. - OfAsyncConsumer<T> - Class in io.activej.csp.consumer.impl
- OfAsyncConsumer(AsyncConsumer<T>, AsyncCloseable) - Constructor for class io.activej.csp.consumer.impl.OfAsyncConsumer
- ofAsyncSupplier(AsyncSupplier<T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ofAsyncSupplier(AsyncSupplier<T>, AsyncCloseable) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Wraps
AsyncSupplierin ChannelSupplier, whenget()is called,AsyncSupplier'sget()will be executed. - OfAsyncSupplier<T> - Class in io.activej.csp.supplier.impl
- OfAsyncSupplier(AsyncSupplier<T>, AsyncCloseable) - Constructor for class io.activej.csp.supplier.impl.OfAsyncSupplier
- OfByteSizePrefixed - Class in io.activej.csp.binary.decoder.impl
- OfByteSizePrefixed(int) - Constructor for class io.activej.csp.binary.decoder.impl.OfByteSizePrefixed
- ofByteSizePrefixedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofByteSizePrefixedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- OfByteTerminated - Class in io.activej.csp.binary.decoder.impl
- OfByteTerminated(byte, int) - Constructor for class io.activej.csp.binary.decoder.impl.OfByteTerminated
- ofConsumer(ConsumerEx<T>) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Wraps a
ConsumerExinChannelConsumer. - ofConsumer(ConsumerEx<T>, AsyncCloseable) - Static method in class io.activej.csp.consumer.ChannelConsumers
- ofConsumer(Consumer<ChannelConsumer<T>>, ChannelQueue<T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates a ChannelSupplier received from
ChannelQueue. - OfConsumer<T> - Class in io.activej.csp.consumer.impl
- OfConsumer(ConsumerEx<T>, AsyncCloseable) - Constructor for class io.activej.csp.consumer.impl.OfConsumer
- OfCrlfTerminated - Class in io.activej.csp.binary.decoder.impl
- OfCrlfTerminated(int) - Constructor for class io.activej.csp.binary.decoder.impl.OfCrlfTerminated
- ofCrlfTerminatedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofCrlfTerminatedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofCrTerminatedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofCrTerminatedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofDelimiter(ByteBufsDecoder<ByteBuf>, UnaryOperator<ByteBuf>) - Static method in class io.activej.csp.binary.codec.ByteBufsCodecs
- OfDelimiter - Class in io.activej.csp.binary.codec.impl
- OfDelimiter(UnaryOperator<ByteBuf>, ByteBufsDecoder<ByteBuf>) - Constructor for class io.activej.csp.binary.codec.impl.OfDelimiter
- ofException(Exception) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Creates a consumer which always returns a
Promiseof exception when accepting values. - ofException(Exception) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates a
ChannelSupplierwhich always returns a promise of exception. - OfException<T> - Class in io.activej.csp.consumer.impl
- OfException<T> - Class in io.activej.csp.supplier.impl
- OfException(Exception) - Constructor for class io.activej.csp.consumer.impl.OfException
- OfException(Exception) - Constructor for class io.activej.csp.supplier.impl.OfException
- ofFixedSize(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- offset - Variable in class io.activej.csp.process.transformer.impl.ByteRanger
- ofInputStream(Executor, int, InputStream) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates an asynchronous
ChannelSupplier<io.activej.bytebuf.ByteBuf>out of someInputStream. - ofInputStream(Executor, MemSize, InputStream) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ofInputStream(Executor, InputStream) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates an asynchronous
ChannelSupplierout of someInputStream. - OfInputStream - Class in io.activej.csp.supplier.impl
- OfInputStream(Executor, int, InputStream) - Constructor for class io.activej.csp.supplier.impl.OfInputStream
- OfIntSizePrefixed - Class in io.activej.csp.binary.decoder.impl
- OfIntSizePrefixed(int) - Constructor for class io.activej.csp.binary.decoder.impl.OfIntSizePrefixed
- ofIntSizePrefixedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofIntSizePrefixedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofIterator(Iterator<? extends T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates a
ChannelSupplierwhich wraps the provided iterator and returns promises of iterator's values untilhasNext()is true, when there are no more values left, a promise ofnullis returned. - ofIterator(Iterator<ByteBuf>) - Static method in class io.activej.csp.binary.BinaryChannelSupplier
- OfIterator<T> - Class in io.activej.csp.supplier.impl
- OfIterator(Iterator<? extends T>, boolean) - Constructor for class io.activej.csp.supplier.impl.OfIterator
- ofLazyProvider(Supplier<? extends ChannelConsumer<T>>) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Returns a
ChannelConsumerwrapped inSupplierand calls itsaccept()whenaccept()method is called. - ofLazyProvider(Supplier<? extends ChannelSupplier<T>>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- OfLazyProvider<T> - Class in io.activej.csp.consumer.impl
- OfLazyProvider<T> - Class in io.activej.csp.supplier.impl
- OfLazyProvider(Supplier<? extends ChannelConsumer<T>>) - Constructor for class io.activej.csp.consumer.impl.OfLazyProvider
- OfLazyProvider(Supplier<? extends ChannelSupplier<T>>) - Constructor for class io.activej.csp.supplier.impl.OfLazyProvider
- ofList(List<? extends T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ofList(List<ByteBuf>) - Static method in class io.activej.csp.binary.BinaryChannelSupplier
- ofNullTerminatedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofNullTerminatedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofOutputStream(Executor, OutputStream) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Creates an asynchronous
ChannelConsumer<io.activej.bytebuf.ByteBuf>out of someOutputStream. - OfOutputStream - Class in io.activej.csp.consumer.impl
- OfOutputStream(Executor, OutputStream) - Constructor for class io.activej.csp.consumer.impl.OfOutputStream
- ofPromise(Promise<? extends ChannelConsumer<T>>) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Unwraps
ChannelConsumerof providedPromise. - ofPromise(Promise<? extends ChannelSupplier<T>>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Wraps
promiseof ChannelSupplier in ChannelSupplier or returns the ChannelSupplier frompromiseitself. - OfPromise<T> - Class in io.activej.csp.consumer.impl
- OfPromise<T> - Class in io.activej.csp.supplier.impl
- OfPromise(Promise<? extends ChannelConsumer<T>>) - Constructor for class io.activej.csp.consumer.impl.OfPromise
- OfPromise(Promise<? extends ChannelSupplier<T>>) - Constructor for class io.activej.csp.supplier.impl.OfPromise
- ofProvidedBufs(ByteBufs, AsyncRunnable, AsyncRunnable, AsyncCloseable) - Static method in class io.activej.csp.binary.BinaryChannelSupplier
- OfShortSizePrefixed - Class in io.activej.csp.binary.decoder.impl
- OfShortSizePrefixed(int) - Constructor for class io.activej.csp.binary.decoder.impl.OfShortSizePrefixed
- ofShortSizePrefixedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofShortSizePrefixedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofSocket(ITcpSocket) - Static method in class io.activej.csp.consumer.ChannelConsumers
-
Wraps
ITcpSocket.write(ByteBuf)operation intoChannelConsumer. - ofSocket(ITcpSocket) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Wraps
ITcpSocket.read()operation intoChannelSupplier - ofStream(Stream<? extends T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ofStreamCodecs(StreamCodec<T>) - Static method in class io.activej.csp.binary.codec.ByteBufsCodecs
- ofStreamCodecs(StreamDecoder<I>, StreamEncoder<O>) - Static method in class io.activej.csp.binary.codec.ByteBufsCodecs
- OfStreamCodecs<I,
O> - Class in io.activej.csp.binary.codec.impl - OfStreamCodecs(StreamDecoder<I>, StreamEncoder<O>) - Constructor for class io.activej.csp.binary.codec.impl.OfStreamCodecs
- ofSupplier(AsyncConsumer<ChannelSupplier<T>>) - Static method in class io.activej.csp.consumer.ChannelConsumers
- ofSupplier(AsyncConsumer<ChannelSupplier<T>>, ChannelQueue<T>) - Static method in class io.activej.csp.consumer.ChannelConsumers
- ofSupplier(SupplierEx<T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Wraps provided default
Supplierto ChannelSupplier. - ofSupplier(SupplierEx<T>, AsyncCloseable) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Wraps provided default
Supplierto ChannelSupplier. - OfSupplier<T> - Class in io.activej.csp.supplier.impl
- OfSupplier(SupplierEx<T>, AsyncCloseable) - Constructor for class io.activej.csp.supplier.impl.OfSupplier
- ofValue(T) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Creates a
ChannelSupplierof one value. - OfValue<T> - Class in io.activej.csp.supplier.impl
- OfValue(T) - Constructor for class io.activej.csp.supplier.impl.OfValue
- ofValues() - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ofValues(T) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ofValues(T...) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- OfVarIntSizePrefixed - Class in io.activej.csp.binary.decoder.impl
- OfVarIntSizePrefixed(int) - Constructor for class io.activej.csp.binary.decoder.impl.OfVarIntSizePrefixed
- ofVarIntSizePrefixedBytes() - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- ofVarIntSizePrefixedBytes(int) - Static method in class io.activej.csp.binary.decoder.ByteBufsDecoders
- onCleanup() - Method in class io.activej.csp.binary.BinaryChannelSupplier
- onCleanup() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- onCleanup() - Method in class io.activej.csp.process.transformer.impl.ByteChunker
- onCleanup() - Method in class io.activej.csp.process.transformer.impl.RateLimiter
- onCleanup() - Method in class io.activej.csp.supplier.impl.OfIterator
- onCleanup() - Method in class io.activej.csp.supplier.impl.OfValue
- onClosed(Exception) - Method in class io.activej.csp.consumer.impl.OfAnotherReactor
- onClosed(Exception) - Method in class io.activej.csp.consumer.impl.OfLazyProvider
- onClosed(Exception) - Method in class io.activej.csp.consumer.impl.OfOutputStream
- onClosed(Exception) - Method in class io.activej.csp.consumer.impl.OfPromise
- onClosed(Exception) - Method in class io.activej.csp.file.ChannelFileReader
- onClosed(Exception) - Method in class io.activej.csp.file.ChannelFileWriter
- onClosed(Exception) - Method in class io.activej.csp.net.Messaging
- onClosed(Exception) - Method in class io.activej.csp.process.AbstractCommunicatingProcess.SanitizedBinaryChannelSupplier
- onClosed(Exception) - Method in class io.activej.csp.supplier.impl.Concat
- onClosed(Exception) - Method in class io.activej.csp.supplier.impl.OfAnotherReactor
- onClosed(Exception) - Method in class io.activej.csp.supplier.impl.OfInputStream
- onClosed(Exception) - Method in class io.activej.csp.supplier.impl.OfLazyProvider
- onClosed(Exception) - Method in class io.activej.csp.supplier.impl.OfPromise
- onItem(I) - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- onItem(ByteBuf) - Method in class io.activej.csp.process.transformer.impl.ByteChunker
- onItem(ByteBuf) - Method in class io.activej.csp.process.transformer.impl.ByteRanger
- onItem(T) - Method in class io.activej.csp.process.transformer.impl.RateLimiter
- onProcessFinish() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- onProcessFinish() - Method in class io.activej.csp.process.transformer.impl.ByteChunker
- onProcessStart() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- open(Executor, Path) - Static method in class io.activej.csp.file.ChannelFileReader
- open(Executor, Path) - Static method in class io.activej.csp.file.ChannelFileWriter
- open(Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileReader
- open(Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileWriter
- openBlocking(Reactor, Executor, Path) - Static method in class io.activej.csp.file.ChannelFileReader
- openBlocking(Reactor, Executor, Path) - Static method in class io.activej.csp.file.ChannelFileWriter
- openBlocking(Reactor, Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileReader
- openBlocking(Reactor, Executor, Path, OpenOption...) - Static method in class io.activej.csp.file.ChannelFileWriter
- output - Variable in class io.activej.csp.binary.codec.impl.OfStreamCodecs
- output - Variable in class io.activej.csp.process.transformer.AbstractChannelTransformer
- outputStream - Variable in class io.activej.csp.consumer.impl.OfOutputStream
- ownership - Variable in class io.activej.csp.supplier.impl.Concat
- ownership - Variable in class io.activej.csp.supplier.impl.OfIterator
P
- peek(Consumer<? super T>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Creates a wrapper ChannelConsumer - when its
accept(T value)is called, if providedvaluedoesn't equalnull, it will be accepted by the providedfnfirst and then by this ChannelConsumer. - peek(Consumer<? super T>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier and when its Promise completes successfully, the result is accepted by the providedfn. - peerFormat - Variable in class io.activej.csp.process.frame.impl.MagicNumberAdapter
- poll() - Method in class io.activej.csp.queue.ChannelBuffer
-
Returns the head of the buffer if it is not empty, otherwise returns
null. - position - Variable in class io.activej.csp.process.transformer.impl.ByteRanger
- prefetch(int, ChannelSupplier<T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- prefetch(ChannelSupplier<T>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
- ProcessCompleteException - Exception in io.activej.csp.process
- ProcessCompleteException() - Constructor for exception io.activej.csp.process.ProcessCompleteException
- promise - Variable in class io.activej.csp.consumer.impl.OfPromise
- promise - Variable in class io.activej.csp.supplier.impl.OfPromise
- provider - Variable in class io.activej.csp.consumer.impl.OfLazyProvider
- provider - Variable in class io.activej.csp.supplier.impl.OfLazyProvider
- put(ByteBuf) - Method in class io.activej.csp.queue.ChannelFileBuffer
- put(T) - Method in class io.activej.csp.queue.ChannelBuffer
-
Puts
valuein this buffer and increasestailvalue. - put(T) - Method in class io.activej.csp.queue.ChannelBufferWithFallback
- put(T) - Method in interface io.activej.csp.queue.ChannelQueue
-
Puts an item in the queue and returns a
promiseofnullas a marker of completion. - put(T) - Method in class io.activej.csp.queue.ChannelZeroBuffer
-
Sets the provided
valueto currentvalue, then setsputas a newSettablePromiseand returns it.
R
- rangeBytes(long, long) - Static method in class io.activej.csp.process.transformer.ChannelTransformers
- RateLimiter<T> - Class in io.activej.csp.process.transformer.impl
- RateLimiter(double) - Constructor for class io.activej.csp.process.transformer.impl.RateLimiter
- RateLimiter.Builder - Class in io.activej.csp.process.transformer.impl
- RateLimiter.Tokenizer<T> - Interface in io.activej.csp.process.transformer.impl
- receive() - Method in interface io.activej.csp.net.IMessaging
- receive() - Method in class io.activej.csp.net.Messaging
- receiveBinaryStream() - Method in interface io.activej.csp.net.IMessaging
- receiveBinaryStream() - Method in class io.activej.csp.net.Messaging
- recycling() - Static method in class io.activej.csp.consumer.ChannelConsumers
- Recycling<T extends io.activej.common.recycle.Recyclable> - Class in io.activej.csp.consumer.impl
- Recycling() - Constructor for class io.activej.csp.consumer.impl.Recycling
- refillRatePerMillis - Variable in class io.activej.csp.process.transformer.impl.RateLimiter
- remap(ChannelSupplier<T>, Function<? super T, ? extends Iterator<? extends V>>) - Static method in class io.activej.csp.supplier.ChannelSuppliers
-
Transforms this
ChannelSupplierdata oftype with provided fn, which returns anIteratorof atype. - Remap<T,
V> - Class in io.activej.csp.supplier.impl - Remap(ChannelSupplier<T>, Function<? super T, ? extends Iterator<? extends V>>) - Constructor for class io.activej.csp.supplier.impl.Remap
- reset() - Method in interface io.activej.csp.process.frame.BlockDecoder
-
Attempts to reset some internal state of decoder.
- reset() - Method in interface io.activej.csp.process.frame.BlockEncoder
-
Attempts to reset some internal state of encoder.
- reset() - Method in class io.activej.csp.process.frame.impl.LZ4.Decoder
- reset() - Method in class io.activej.csp.process.frame.impl.LZ4.Encoder
- reset() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Decoder
-
Deprecated.
- reset() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Encoder
-
Deprecated.
S
- sanitize(BinaryChannelSupplier) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- sanitize(ChannelConsumer<T>) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- sanitize(ChannelSupplier<T>) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- sanitize(Promise<T>) - Method in class io.activej.csp.process.AbstractCommunicatingProcess
- SanitizedBinaryChannelSupplier(BinaryChannelSupplier) - Constructor for class io.activej.csp.process.AbstractCommunicatingProcess.SanitizedBinaryChannelSupplier
- scanner - Variable in class io.activej.csp.binary.decoder.impl.OfIntSizePrefixed
- scanner - Variable in class io.activej.csp.binary.decoder.impl.OfVarIntSizePrefixed
- scheduledRunnable - Variable in class io.activej.csp.process.transformer.impl.RateLimiter
- send(O) - Method in interface io.activej.csp.net.IMessaging
- send(O) - Method in class io.activej.csp.net.Messaging
- send(O) - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- sendBinaryStream() - Method in interface io.activej.csp.net.IMessaging
- sendBinaryStream() - Method in class io.activej.csp.net.Messaging
- sendEndOfStream() - Method in interface io.activej.csp.net.IMessaging
- sendEndOfStream() - Method in class io.activej.csp.net.Messaging
- sendEndOfStream() - Method in class io.activej.csp.process.transformer.AbstractChannelTransformer
- set(BinaryChannelSupplier) - Method in interface io.activej.csp.binary.BinaryChannelInput
- set(ChannelConsumer<T>) - Method in interface io.activej.csp.ChannelOutput
- set(ChannelSupplier<ByteBuf>) - Method in interface io.activej.csp.binary.BinaryChannelInput
- set(ChannelSupplier<T>) - Method in interface io.activej.csp.ChannelInput
- size() - Method in class io.activej.csp.queue.ChannelBuffer
-
Returns amount of elements in this buffer.
- sizePrefixed() - Static method in class io.activej.csp.process.frame.FrameFormats
-
A frame format that encodes data preceding it with its size.
- SizePrefixed - Class in io.activej.csp.process.frame.impl
- SizePrefixed() - Constructor for class io.activej.csp.process.frame.impl.SizePrefixed
- SizePrefixed.LengthByteScanner - Class in io.activej.csp.process.frame.impl
- startProcess() - Method in class io.activej.csp.process.AbstractCommunicatingProcess
-
Starts this communicating process if it is not started yet.
- streamTo(Try<ChannelSupplier<T>>, Try<ChannelConsumer<T>>) - Static method in interface io.activej.csp.supplier.ChannelSupplier
- streamTo(ChannelConsumer<T>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Streams data from this
ChannelSupplierto theChannelConsumeruntilChannelSupplier.get()returns a promise ofnull. - streamTo(Promise<? extends ChannelConsumer<T>>) - Method in interface io.activej.csp.supplier.ChannelSupplier
- streamTo(Promise<ChannelSupplier<T>>, Promise<ChannelConsumer<T>>) - Static method in interface io.activej.csp.supplier.ChannelSupplier
- supplier - Variable in class io.activej.csp.supplier.impl.OfAsyncSupplier
- supplier - Variable in class io.activej.csp.supplier.impl.OfLazyProvider
- supplier - Variable in class io.activej.csp.supplier.impl.OfPromise
- supplier - Variable in class io.activej.csp.supplier.impl.OfSupplier
- supplier - Variable in class io.activej.csp.supplier.impl.Remap
T
- take() - Method in class io.activej.csp.queue.ChannelBuffer
-
Returns a promise of the head of the
bufferif it is not empty. - take() - Method in class io.activej.csp.queue.ChannelBufferWithFallback
- take() - Method in class io.activej.csp.queue.ChannelFileBuffer
- take() - Method in interface io.activej.csp.queue.ChannelQueue
-
Takes an element of this queue and wraps it in
promise. - take() - Method in class io.activej.csp.queue.ChannelZeroBuffer
-
Returns a promise of current
value, if theputis notnull. - takeValue() - Method in class io.activej.csp.supplier.impl.OfValue
- terminator - Variable in class io.activej.csp.binary.decoder.impl.OfByteTerminated
- toCollector(Collector<T, A, R>) - Method in interface io.activej.csp.supplier.ChannelSupplier
- tokenizer - Variable in class io.activej.csp.process.transformer.impl.RateLimiter
- tokens - Variable in class io.activej.csp.process.transformer.impl.RateLimiter
- toList() - Method in interface io.activej.csp.supplier.ChannelSupplier
- toString() - Method in class io.activej.csp.file.ChannelFileReader
- toString() - Method in class io.activej.csp.file.ChannelFileWriter
- toString() - Method in class io.activej.csp.net.Messaging
- transform(DecoderFunction<? super I, ? extends I1>, Function<? super O1, ? extends O>) - Method in interface io.activej.csp.binary.codec.ByteBufsCodec
- transform(ChannelConsumer<O>) - Method in interface io.activej.csp.dsl.WithChannelTransformer
- transform(ChannelConsumer<T>) - Method in interface io.activej.csp.process.transformer.ChannelConsumerTransformer
- transform(ChannelConsumer<T>) - Method in interface io.activej.csp.queue.ChannelQueue
- transform(ChannelSupplier<I>) - Method in interface io.activej.csp.dsl.WithChannelTransformer
- transform(ChannelSupplier<T>) - Method in interface io.activej.csp.process.transformer.ChannelSupplierTransformer
- transform(ChannelSupplier<T>) - Method in interface io.activej.csp.queue.ChannelQueue
- transformWith(ChannelConsumerTransformer<T, R>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Transforms current
ChannelConsumerwith providedChannelConsumerTransformer. - transformWith(ChannelSupplierTransformer<T, R>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Transforms this ChannelSupplier with the provided
fn. - TruncatedBlockException - Exception in io.activej.csp.process.frame
-
Exception indicates a stream that ends with an incomplete Data Block
- TruncatedBlockException(Throwable) - Constructor for exception io.activej.csp.process.frame.TruncatedBlockException
- tryDecode(ByteBufs) - Method in interface io.activej.csp.binary.codec.ByteBufsCodec
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.codec.impl.OfDelimiter
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.codec.impl.OfStreamCodecs
- tryDecode(ByteBufs) - Method in interface io.activej.csp.binary.decoder.ByteBufsDecoder
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.decoder.impl.OfByteSizePrefixed
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.decoder.impl.OfByteTerminated
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.decoder.impl.OfCrlfTerminated
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.decoder.impl.OfIntSizePrefixed
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.decoder.impl.OfShortSizePrefixed
- tryDecode(ByteBufs) - Method in class io.activej.csp.binary.decoder.impl.OfVarIntSizePrefixed
U
- until(Predicate<? super T>) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier, when itsgetis called, its values will be returned until they don't fit thepredicate. - Utils - Class in io.activej.csp.binary
- Utils() - Constructor for class io.activej.csp.binary.Utils
- Utils.IntByteScanner - Class in io.activej.csp.binary
- Utils.VarIntByteScanner - Class in io.activej.csp.binary
V
- VarIntByteScanner() - Constructor for class io.activej.csp.binary.Utils.VarIntByteScanner
W
- willBeExhausted() - Method in class io.activej.csp.queue.ChannelBuffer
-
Checks if this buffer will have fewer elements than
bufferMinSize, if at least one more element will be taken, by comparing its current size withbufferMinSize. - willBeSaturated() - Method in class io.activej.csp.queue.ChannelBuffer
-
Checks if this buffer will be saturated if at least one more element will be added, by comparing its current size with
bufferMaxSize. - WITH_STACK_TRACE - Static variable in exception io.activej.csp.process.ProcessCompleteException
- withAcknowledgement(UnaryOperator<Promise<Void>>) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Creates a wrapper ChannelConsumer - after its
accept(T value)is called and completed, an acknowledgement is returned. - WithBinaryChannelInput<B> - Interface in io.activej.csp.dsl
- withBufferSize(int) - Method in class io.activej.csp.file.ChannelFileReader.Builder
- withBufferSize(MemSize) - Method in class io.activej.csp.file.ChannelFileReader.Builder
- WithChannelInput<B,
T> - Interface in io.activej.csp.dsl - WithChannelInputs<T> - Interface in io.activej.csp.dsl
- WithChannelOutput<B,
T> - Interface in io.activej.csp.dsl - WithChannelOutputs<T> - Interface in io.activej.csp.dsl
- WithChannelTransformer<B,
I, O> - Interface in io.activej.csp.dsl - withCompressionLevel(int) - Method in class io.activej.csp.process.frame.impl.LZ4.Builder
- withCompressionLevel(int) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- withDecoderResets() - Method in class io.activej.csp.process.frame.ChannelFrameDecoder.Builder
- withDecoderResets(boolean) - Method in class io.activej.csp.process.frame.ChannelFrameDecoder.Builder
- withEncoderResets() - Method in class io.activej.csp.process.frame.ChannelFrameEncoder.Builder
- withEncoderResets(boolean) - Method in class io.activej.csp.process.frame.ChannelFrameEncoder.Builder
- withEndOfStream(UnaryOperator<Promise<Void>>) - Method in interface io.activej.csp.supplier.ChannelSupplier
- withExecutor(AsyncExecutor) - Method in interface io.activej.csp.consumer.ChannelConsumer
-
Creates a wrapper ChannelConsumer which executes current ChannelConsumer's
accept(T value)within theexecutor. - withExecutor(AsyncExecutor) - Method in interface io.activej.csp.supplier.ChannelSupplier
-
Creates and returns a new
AbstractChannelSupplierbased on current ChannelSupplier and makes its promise executed by the providedexecutor. - withForceOnClose(boolean) - Method in class io.activej.csp.file.ChannelFileWriter.Builder
- withHashFactory(XXHashFactory) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- withHighCompression() - Method in class io.activej.csp.process.frame.impl.LZ4.Builder
- withHighCompression() - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- withIgnoreMissingEndOfStream(boolean) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- withInitialTokens(double) - Method in class io.activej.csp.process.transformer.impl.RateLimiter.Builder
- withInput(BinaryChannelSupplier) - Method in interface io.activej.csp.dsl.WithBinaryChannelInput
- withInput(ChannelSupplier<T>) - Method in interface io.activej.csp.dsl.WithChannelInput
- withLegacyChecksum(boolean) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- withLimit(long) - Method in class io.activej.csp.file.ChannelFileReader.Builder
- withLZ4Factory(LZ4Factory) - Method in class io.activej.csp.process.frame.impl.LZ4.Builder
- withLZ4Factory(LZ4Factory) - Method in class io.activej.csp.process.frame.impl.LZ4Legacy.Builder
-
Deprecated.
- withMagicNumber(FrameFormat, byte[]) - Static method in class io.activej.csp.process.frame.FrameFormats
-
A frame format that adds specified magic number to the start of the stream.
- withOffset(long) - Method in class io.activej.csp.file.ChannelFileReader.Builder
- withOffset(long) - Method in class io.activej.csp.file.ChannelFileWriter.Builder
- withOutput(ChannelConsumer<T>) - Method in interface io.activej.csp.dsl.WithChannelOutput
- withSplitFunction(UnaryOperator<T>) - Method in class io.activej.csp.process.ChannelSplitter.Builder
-
Allows to set a function that will be used for splitting a value.
- withTokenizer(RateLimiter.Tokenizer<T>) - Method in class io.activej.csp.process.transformer.impl.RateLimiter.Builder
All Classes and Interfaces|All Packages|Serialized Form