Index
All Classes and Interfaces|All Packages
A
- accumulator(Function<Stream<T>, CompletionStage<U>>) - Static method in class net.pincette.rs.Accumulator
- accumulator(Function<Stream<T>, CompletionStage<U>>, UnaryOperator<T>) - Static method in class net.pincette.rs.Accumulator
- Accumulator<T,
U> - Class in net.pincette.rs -
Accumulates a publisher and when that's done it calls the provided function.
- Accumulator(Function<Stream<T>, CompletionStage<U>>) - Constructor for class net.pincette.rs.Accumulator
-
Constructs the accumulator with a reducer.
- Accumulator(Function<Stream<T>, CompletionStage<U>>, UnaryOperator<T>) - Constructor for class net.pincette.rs.Accumulator
-
Constructs the accumulator with a reducer.
- addValues(List<R>) - Method in class net.pincette.rs.Buffered
- after(Supplier<T>) - Static method in class net.pincette.rs.After
- after(Supplier<T>) - Method in class net.pincette.rs.Chain
-
Appends the result of
value
to the stream. - after(T) - Static method in class net.pincette.rs.After
- after(T) - Method in class net.pincette.rs.Chain
-
Appends
value
to the stream. - After<T> - Class in net.pincette.rs
-
A processor which emits a given value after all incoming values have been emitted.
- After(Supplier<T>) - Constructor for class net.pincette.rs.After
- After(T) - Constructor for class net.pincette.rs.After
- askForever(Duration) - Static method in class net.pincette.rs.AskForever
- askForever(Duration) - Method in class net.pincette.rs.Chain
-
Asks the upstream for more elements if it hasn't received any before the timeout, until the stream completes.
- AskForever<T> - Class in net.pincette.rs
-
This processor asks the upstream for more elements if it hasn't received any before the timeout, until the stream completes.
- AskForever(Duration) - Constructor for class net.pincette.rs.AskForever
- asList(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Returns the published values as a list.
- asList(Flow.Publisher<T>, int) - Static method in class net.pincette.rs.Util
- asListAsync(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Returns the published values as a list.
- asListAsync(Flow.Publisher<T>, int) - Static method in class net.pincette.rs.Util
- asValue(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Returns the first value.
- asValueAsync(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Completes with the first emitted value or
null
if there was no such value. - async() - Static method in class net.pincette.rs.Async
- Async<T> - Class in net.pincette.rs
-
Emits the values produced by the stages in the order the stages arrive.
- Async() - Constructor for class net.pincette.rs.Async
- AsyncDepend<T,
R> - Class in net.pincette.rs -
Emits the values produced by functions in the order the values arrive.
- AsyncDepend(BiFunction<T, R, CompletionStage<R>>) - Constructor for class net.pincette.rs.AsyncDepend
B
- backpressureCheck() - Static method in class net.pincette.rs.Util
-
This is a debugging aid that throws an exception when more messages are sent than requested.
- Base64 - Class in net.pincette.rs
-
Base84 processors.
- base64Decoder() - Static method in class net.pincette.rs.Base64
- base64Encoder() - Static method in class net.pincette.rs.Base64
-
Sets
oneLine
tofalse
. - base64Encoder(boolean) - Static method in class net.pincette.rs.Base64
-
A processor that encodes a byte buffer stream to Base64.
- before(Supplier<T>) - Static method in class net.pincette.rs.Before
- before(Supplier<T>) - Method in class net.pincette.rs.Chain
-
Puts the result of
value
before the stream. - before(T) - Static method in class net.pincette.rs.Before
- before(T) - Method in class net.pincette.rs.Chain
-
Puts
value
before the stream. - Before<T> - Class in net.pincette.rs
-
A processor which emits a given value before all incoming values have been emitted.
- Before(Supplier<T>) - Constructor for class net.pincette.rs.Before
- Before(T) - Constructor for class net.pincette.rs.Before
- blockingSubscriber() - Static method in class net.pincette.rs.BlockingSubscriber
- blockingSubscriber(long) - Static method in class net.pincette.rs.BlockingSubscriber
- BlockingSubscriber<T> - Class in net.pincette.rs
-
With this class a publisher can be wrapped in a blocking iterable.
- BlockingSubscriber() - Constructor for class net.pincette.rs.BlockingSubscriber
-
Creates a subscriber with a request size of 100.
- BlockingSubscriber(long) - Constructor for class net.pincette.rs.BlockingSubscriber
-
Creates a subscriber with a subscription that requests
requestSize
elements at the time. - box(Flow.Processor<T, U>, Flow.Processor<U, R>) - Static method in class net.pincette.rs.Box
- Box<T,
R, U> - Class in net.pincette.rs -
Combines two processors as one.
- Box(Flow.Processor<T, U>, Flow.Processor<U, R>) - Constructor for class net.pincette.rs.Box
- buffer(int) - Static method in class net.pincette.rs.Buffer
- buffer(int) - Method in class net.pincette.rs.Chain
-
Buffers a number of values.
- buffer(int, Duration) - Static method in class net.pincette.rs.Buffer
- buffer(int, Duration) - Method in class net.pincette.rs.Chain
-
Buffers a number of values.
- Buffer<T> - Class in net.pincette.rs
-
Buffers a number of values.
- Buffer(int) - Constructor for class net.pincette.rs.Buffer
- Buffer(int, Duration) - Constructor for class net.pincette.rs.Buffer
- Buffered<T,
R> - Class in net.pincette.rs -
Base class for buffered processors.
- Buffered(int) - Constructor for class net.pincette.rs.Buffered
-
Create a buffered processor.
C
- cancel() - Method in class net.pincette.rs.NopSubscription
- cancel() - Method in class net.pincette.rs.ProcessorBase
-
Cancels the upstream.
- canRequestMore(long) - Method in class net.pincette.rs.After
- canRequestMore(long) - Method in class net.pincette.rs.Before
- canRequestMore(long) - Method in class net.pincette.rs.Mapper
-
With this method a subclass can regulate the backpressure.
- canRequestMore(long) - Method in class net.pincette.rs.Separator
- Chain<T> - Class in net.pincette.rs
-
Chains processors after the initial publisher.
- close() - Method in class net.pincette.rs.DequePublisher
-
After closing, it is not allowed to add more elements to the deque.
- close() - Method in class net.pincette.rs.OutputStreamPublisher
- combine(Flow.Subscriber<? super T>, Flow.Publisher<R>) - Static method in class net.pincette.rs.Combine
- Combine<T,
R> - Class in net.pincette.rs -
Exposes the combination of a subscriber and a publisher as one processor.
- Combine(Flow.Subscriber<? super T>, Flow.Publisher<R>) - Constructor for class net.pincette.rs.Combine
- commit(Function<List<T>, CompletionStage<Boolean>>) - Method in class net.pincette.rs.Chain
-
When the down stream requests more messages this indicates all messages it has received were processed correctly.
- commit(Function<List<T>, CompletionStage<Boolean>>) - Static method in class net.pincette.rs.Commit
- Commit<T> - Class in net.pincette.rs
-
When the down stream requests more messages this indicates all messages it has received were processed correctly.
- Commit(Function<List<T>, CompletionStage<Boolean>>) - Constructor for class net.pincette.rs.Commit
-
Create a Commit processor.
- completablePublisher(Supplier<CompletionStage<Flow.Publisher<T>>>) - Static method in class net.pincette.rs.Util
- complete() - Method in interface net.pincette.rs.Encoder
-
This method is called when the stream has completed.
- complete() - Method in class net.pincette.rs.encoders.Deflate
- complete() - Method in class net.pincette.rs.encoders.DivisibleBy
- complete() - Method in class net.pincette.rs.encoders.Gunzip
- complete() - Method in class net.pincette.rs.encoders.Gzip
- complete() - Method in class net.pincette.rs.encoders.Inflate
- complete() - Method in class net.pincette.rs.encoders.Lines
- complete() - Method in class net.pincette.rs.ProcessorBase
-
Completes the downstream and cancels the upstream.
- Concat<T> - Class in net.pincette.rs
-
Concatenates multiple publishers of the same type to form one publisher that completes when the last given publisher completes.
- Concat(List<Flow.Publisher<T>>) - Constructor for class net.pincette.rs.Concat
D
- deflate() - Static method in class net.pincette.rs.encoders.Deflate
- deflate() - Static method in class net.pincette.rs.Util
-
Creates a processor that deflates a
ByteBuffer
stream. - deflate(Deflater) - Static method in class net.pincette.rs.encoders.Deflate
- deflate(Deflater) - Static method in class net.pincette.rs.Util
-
Creates a processor that deflates a
ByteBuffer
stream. - Deflate - Class in net.pincette.rs.encoders
-
An encoder that deflates a
ByteBuffer
stream. - Deflate() - Constructor for class net.pincette.rs.encoders.Deflate
- Deflate(Deflater) - Constructor for class net.pincette.rs.encoders.Deflate
- delegate(Flow.Processor<T, R>) - Static method in class net.pincette.rs.Delegate
- Delegate<T,
R> - Class in net.pincette.rs -
Delegates all operations to a given processor.
- Delegate(Flow.Processor<T, R>) - Constructor for class net.pincette.rs.Delegate
- delegateTo - Variable in class net.pincette.rs.Delegate
- dequePublisher() - Static method in class net.pincette.rs.DequePublisher
-
Creates a deque publisher.
- DequePublisher<T> - Class in net.pincette.rs
-
A publisher that is fed by a deque.
- DequePublisher() - Constructor for class net.pincette.rs.DequePublisher
- devNull() - Static method in class net.pincette.rs.Util
- discard(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Consumes the publisher without doing anything.
- dispatch(Runnable) - Method in class net.pincette.rs.Buffered
- dispatch(Runnable) - Static method in class net.pincette.rs.Serializer
- dispatch(RunnableWithException, Consumer<Exception>) - Static method in class net.pincette.rs.Serializer
- divisibleBy(int) - Static method in class net.pincette.rs.encoders.DivisibleBy
- divisibleBy(int) - Static method in class net.pincette.rs.Util
-
Returns a processor that produces byte buffers the size of which is divisible by a certain number, where the last one may be smaller than that number.
- DivisibleBy - Class in net.pincette.rs.encoders
-
Produces byte buffers the size of which is divisible by a certain number, where the last one may be smaller than that number.
- DivisibleBy(int) - Constructor for class net.pincette.rs.encoders.DivisibleBy
- duplicateFilter(Function<T, U>, Duration) - Static method in class net.pincette.rs.Util
-
Filters the elements leaving out duplicates according to the
criterion
over the timewindow
.
E
- emit() - Method in class net.pincette.rs.Buffered
-
Triggers the downstream emission flow.
- emit(long) - Method in class net.pincette.rs.AskForever
- emit(long) - Method in class net.pincette.rs.Async
- emit(long) - Method in class net.pincette.rs.AsyncDepend
- emit(long) - Method in class net.pincette.rs.Buffered
- emit(long) - Method in class net.pincette.rs.Commit
- emit(long) - Method in class net.pincette.rs.Flatten
- emit(long) - Method in class net.pincette.rs.Mapper
- emit(long) - Method in class net.pincette.rs.Probe
- emit(long) - Method in class net.pincette.rs.ProcessorBase
- emit(long) - Method in class net.pincette.rs.Split
- empty() - Static method in class net.pincette.rs.Util
-
Returns a publisher that emits no values.
- empty(Flow.Publisher<Void>) - Static method in class net.pincette.rs.Util
-
Waits until the empty publisher completes.
- emptyAsync(Flow.Publisher<Void>) - Static method in class net.pincette.rs.Util
-
Completes when the empty publisher completes.
- encode(ByteBuffer) - Method in class net.pincette.rs.encoders.Deflate
- encode(ByteBuffer) - Method in class net.pincette.rs.encoders.DivisibleBy
- encode(ByteBuffer) - Method in class net.pincette.rs.encoders.Gunzip
- encode(ByteBuffer) - Method in class net.pincette.rs.encoders.Gzip
- encode(ByteBuffer) - Method in class net.pincette.rs.encoders.Inflate
- encode(ByteBuffer) - Method in class net.pincette.rs.encoders.Lines
- encode(Encoder<T, R>) - Static method in class net.pincette.rs.Encode
- encode(T) - Method in interface net.pincette.rs.Encoder
-
This method is called for each incoming value.
- Encode<T,
R> - Class in net.pincette.rs -
This buffered processor delegates the stateful encoding of the incoming value stream to an encoder.
- Encode(Encoder<T, R>) - Constructor for class net.pincette.rs.Encode
- Encoder<T,
R> - Interface in net.pincette.rs -
The interface for stateful encoders op value streams.
F
- Fanout<T> - Class in net.pincette.rs
-
A subscriber that accepts multiple subscribers to all of which it passes all events.
- Fanout(List<Flow.Subscriber<T>>, UnaryOperator<T>) - Constructor for class net.pincette.rs.Fanout
-
Creates a fanout subscriber.
- filter(Predicate<T>) - Method in class net.pincette.rs.Chain
-
Appends a processor that filters objects using the
predicate
function. - filter(Predicate<T>) - Static method in class net.pincette.rs.Filter
- Filter<T> - Class in net.pincette.rs
-
Filters elements based on a predicate.
- Filter(Predicate<T>) - Constructor for class net.pincette.rs.Filter
-
Create a filter with a predicate.
- first - Variable in class net.pincette.rs.Box
- first() - Method in class net.pincette.rs.Chain
-
Appends a processor that only emits the first value it receives.
- first() - Static method in class net.pincette.rs.First
- first(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Returns the first element
publisher
emits if there is one. - First<T> - Class in net.pincette.rs
-
Emits only the first value it receives.
- First() - Constructor for class net.pincette.rs.First
- flatMap(Function<T, Flow.Publisher<R>>) - Method in class net.pincette.rs.Chain
-
Appends a processor that emits the elements from the generated publisher individually.
- flatMap(Function<T, Flow.Publisher<R>>) - Static method in class net.pincette.rs.Flatten
-
Returns a processor that emits the elements from the generated publisher individually.
- flatMapList(Function<T, List<R>>) - Method in class net.pincette.rs.Chain
-
Appends a processor that emits the elements from the generated list individually.
- flatMapList(Function<T, List<R>>) - Static method in class net.pincette.rs.FlattenList
-
Returns a processor that emits the elements from the generated list individually.
- flatten() - Static method in class net.pincette.rs.Flatten
-
Returns a processor that emits the elements in the received publishers individually.
- Flatten<T> - Class in net.pincette.rs
-
The processor emits the elements in the received publishers individually.
- Flatten() - Constructor for class net.pincette.rs.Flatten
- flattenList() - Static method in class net.pincette.rs.FlattenList
-
Returns a processor that emits the elements in the received lists individually.
- FlattenList<T> - Class in net.pincette.rs
-
The processor emits the elements in the received lists individually.
- FlattenList() - Constructor for class net.pincette.rs.FlattenList
- forEach(Flow.Publisher<T>, Consumer<T>) - Static method in class net.pincette.rs.Reducer
-
Runs
consumer
for each emitted value. - forEachJoin(Flow.Publisher<T>, Consumer<T>) - Static method in class net.pincette.rs.Reducer
-
Runs
consumer
for each emitted value and makes it synchronous.
G
- generate(Supplier<T>) - Static method in class net.pincette.rs.Util
-
Returns a publisher that always emits values from
supplier
when asked for messages. - generate(Supplier<T>, UnaryOperator<T>) - Static method in class net.pincette.rs.Util
-
Returns a publisher that always emits values from
initial
andnext
when asked for messages. - get() - Method in class net.pincette.rs.Accumulator
-
Returns the reduced value when the stage is complete.
- get() - Method in class net.pincette.rs.Chain
-
Returns the publisher of the chain.
- getDeque() - Method in class net.pincette.rs.DequePublisher
-
Returns the deque to which the elements are fed.
- getError() - Method in class net.pincette.rs.ProcessorBase
- getRequested() - Method in class net.pincette.rs.Buffered
-
Returns the number of requested elements by the downstream.
- gunzip() - Static method in class net.pincette.rs.encoders.Gunzip
- gunzip() - Static method in class net.pincette.rs.Util
-
Creates a processor that uncompresses a
ByteBuffer
stream in GZIP format. - Gunzip - Class in net.pincette.rs.encoders
-
An encoder that uncompresses a
ByteBuffer
stream in GZIP format. - Gunzip() - Constructor for class net.pincette.rs.encoders.Gunzip
- gzip() - Static method in class net.pincette.rs.encoders.Gzip
- gzip() - Static method in class net.pincette.rs.Util
-
Creates a processor that compresses a
ByteBuffer
stream in GZIP format. - Gzip - Class in net.pincette.rs.encoders
-
An encoder that compresses a
ByteBuffer
stream in GZIP format. - Gzip() - Constructor for class net.pincette.rs.encoders.Gzip
H
- headTail(Consumer<T>, Function<T, R>) - Method in class net.pincette.rs.Chain
-
Appends a processor that doesn't emit the head of a stream, but instead gives it to a function.
- headTail(Consumer<T>, Function<T, R>) - Static method in class net.pincette.rs.HeadTail
- HeadTail<T,
R> - Class in net.pincette.rs -
A processor that doesn't emit the head of a stream, but instead gives it to a function.
- HeadTail(Consumer<T>, Function<T, R>) - Constructor for class net.pincette.rs.HeadTail
-
Creates the processor.
I
- inflate() - Static method in class net.pincette.rs.encoders.Inflate
- inflate() - Static method in class net.pincette.rs.Util
-
Creates a processor that inflates a
ByteBuffer
stream. - inflate(Inflater) - Static method in class net.pincette.rs.encoders.Inflate
- inflate(Inflater) - Static method in class net.pincette.rs.Util
-
Creates a processor that inflates a
ByteBuffer
stream. - Inflate - Class in net.pincette.rs.encoders
-
An encoder that inflates a
ByteBuffer
stream. - Inflate() - Constructor for class net.pincette.rs.encoders.Inflate
- Inflate(Inflater) - Constructor for class net.pincette.rs.encoders.Inflate
- InputStreamSubscriber - Class in net.pincette.rs
-
This is an input stream that can be used as a reactive streams subscriber.
- InputStreamSubscriber() - Constructor for class net.pincette.rs.InputStreamSubscriber
-
Creates the stream with a timeout of 5 seconds.
- InputStreamSubscriber(long) - Constructor for class net.pincette.rs.InputStreamSubscriber
-
Creates the stream with a timeout.
- isCompleted() - Method in class net.pincette.rs.Buffered
-
Indicates whether the stream is completed.
- iterate(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Returns a blocking
Iterable
with a request size of 100. - iterate(Flow.Publisher<T>, long) - Static method in class net.pincette.rs.Util
-
Returns a blocking
Iterable
. - iterator() - Method in class net.pincette.rs.BlockingSubscriber
-
Returns an immutable iterator over the published elements.
J
- join(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Blocks until the publisher is done.
L
- lambdaSubscriber(ConsumerWithException<T>) - Static method in class net.pincette.rs.LambdaSubscriber
- lambdaSubscriber(ConsumerWithException<T>, RunnableWithException) - Static method in class net.pincette.rs.LambdaSubscriber
- lambdaSubscriber(ConsumerWithException<T>, RunnableWithException, ConsumerWithException<Throwable>) - Static method in class net.pincette.rs.LambdaSubscriber
- lambdaSubscriber(ConsumerWithException<T>, RunnableWithException, ConsumerWithException<Throwable>, ConsumerWithException<Flow.Subscription>) - Static method in class net.pincette.rs.LambdaSubscriber
- LambdaSubscriber<T> - Class in net.pincette.rs
-
Provides constructors to which lambdas can be given.
- LambdaSubscriber(ConsumerWithException<T>) - Constructor for class net.pincette.rs.LambdaSubscriber
- LambdaSubscriber(ConsumerWithException<T>, RunnableWithException) - Constructor for class net.pincette.rs.LambdaSubscriber
- LambdaSubscriber(ConsumerWithException<T>, RunnableWithException, ConsumerWithException<Throwable>) - Constructor for class net.pincette.rs.LambdaSubscriber
- LambdaSubscriber(ConsumerWithException<T>, RunnableWithException, ConsumerWithException<Throwable>, ConsumerWithException<Flow.Subscription>) - Constructor for class net.pincette.rs.LambdaSubscriber
- last() - Method in class net.pincette.rs.Buffered
-
This is called when the stream has completed.
- last() - Method in class net.pincette.rs.Chain
-
Appends a processor that only emits the last value it receives.
- last() - Method in class net.pincette.rs.Encode
- last() - Static method in class net.pincette.rs.Last
- last() - Method in class net.pincette.rs.Per
- last(Flow.Publisher<T>) - Static method in class net.pincette.rs.Util
-
Returns the last element
publisher
emits if there is one. - Last<T> - Class in net.pincette.rs
-
Emits the last value it receives and then completes the stream.
- Last() - Constructor for class net.pincette.rs.Last
- lines() - Static method in class net.pincette.rs.encoders.Lines
- lines() - Static method in class net.pincette.rs.Util
-
Returns a processor that receives buffers and interprets the contents as a UTF-8 encoded string.
- Lines - Class in net.pincette.rs.encoders
-
An encoder that receives buffers and interprets the contents as a UTF-8 encoded string.
- Lines() - Constructor for class net.pincette.rs.encoders.Lines
M
- map(Flow.Processor<T, R>) - Method in class net.pincette.rs.Chain
-
Appends
processor
to the chain. - map(Function<T, R>) - Method in class net.pincette.rs.Chain
-
Appends a processor with the mapping
function
, which transforms the objects. - map(Function<T, R>) - Static method in class net.pincette.rs.Mapper
-
Returns a mapping processor with a map function.
- mapAsync(BiFunction<T, R, CompletionStage<R>>) - Static method in class net.pincette.rs.AsyncDepend
-
Returns a processor with the mapping function, which transforms the objects.
- mapAsync(BiFunction<T, R, CompletionStage<R>>) - Method in class net.pincette.rs.Chain
-
Appends a processor with the mapping function, which transforms the objects.
- mapAsync(Function<T, CompletionStage<R>>) - Static method in class net.pincette.rs.Async
-
Returns a processor with the mapping function, which transforms the objects.
- mapAsync(Function<T, CompletionStage<R>>) - Method in class net.pincette.rs.Chain
-
Appends a processor with the mapping function, which transforms the objects.
- Mapper<T,
R> - Class in net.pincette.rs -
Transforms a reactive stream.
- Mapper(Function<T, R>) - Constructor for class net.pincette.rs.Mapper
- Merge<T> - Class in net.pincette.rs
-
A publisher that emits everything that the given publishers emit.
- Merge(List<Flow.Publisher<T>>) - Constructor for class net.pincette.rs.Merge
-
Creates a merge publisher.
- more() - Method in class net.pincette.rs.Mapper
-
Request one more element from the upstream.
- more(long) - Method in class net.pincette.rs.Mapper
-
Request more elements from the upstream.
N
- net.pincette.rs - module net.pincette.rs
- net.pincette.rs - package net.pincette.rs
- net.pincette.rs.encoders - package net.pincette.rs.encoders
- nopSubscription() - Static method in class net.pincette.rs.NopSubscription
- NopSubscription - Class in net.pincette.rs
-
This is for emitters that can't be controlled in any way.
- NopSubscription() - Constructor for class net.pincette.rs.NopSubscription
- notFilter(Predicate<T>) - Method in class net.pincette.rs.Chain
-
Appends a processor that filters objects using negation of the
predicate
function. - notFilter(Predicate<T>) - Static method in class net.pincette.rs.NotFilter
- NotFilter<T> - Class in net.pincette.rs
-
Filters elements based on the negation opf a predicate.
- NotFilter(Predicate<T>) - Constructor for class net.pincette.rs.NotFilter
-
Create a filter with a predicate.
O
- of(Flow.Publisher<T>...) - Static method in class net.pincette.rs.Concat
- of(Flow.Publisher<T>...) - Static method in class net.pincette.rs.Merge
-
Creates a merge publisher.
- of(Flow.Subscriber<T>...) - Static method in class net.pincette.rs.Fanout
-
Creates a fanout subscriber.
- of(List<Flow.Publisher<T>>) - Static method in class net.pincette.rs.Concat
- of(List<Flow.Publisher<T>>) - Static method in class net.pincette.rs.Merge
-
Creates a merge publisher.
- of(List<Flow.Subscriber<T>>) - Static method in class net.pincette.rs.Fanout
-
Creates a fanout subscriber.
- of(List<Flow.Subscriber<T>>, UnaryOperator<T>) - Static method in class net.pincette.rs.Fanout
-
Creates a fanout subscriber.
- of(List<T>) - Static method in class net.pincette.rs.Source
-
Creates a publisher from a list of values.
- of(T...) - Static method in class net.pincette.rs.Source
- onComplete() - Method in class net.pincette.rs.Accumulator
- onComplete() - Method in class net.pincette.rs.After
- onComplete() - Method in class net.pincette.rs.AskForever
- onComplete() - Method in class net.pincette.rs.Async
- onComplete() - Method in class net.pincette.rs.AsyncDepend
- onComplete() - Method in class net.pincette.rs.Before
- onComplete() - Method in class net.pincette.rs.BlockingSubscriber
- onComplete() - Method in class net.pincette.rs.Box
- onComplete() - Method in class net.pincette.rs.Buffered
- onComplete() - Method in class net.pincette.rs.Combine
- onComplete() - Method in class net.pincette.rs.Commit
- onComplete() - Method in class net.pincette.rs.Delegate
- onComplete() - Method in class net.pincette.rs.Fanout
- onComplete() - Method in class net.pincette.rs.Flatten
- onComplete() - Method in class net.pincette.rs.InputStreamSubscriber
- onComplete() - Method in class net.pincette.rs.LambdaSubscriber
- onComplete() - Method in class net.pincette.rs.Last
- onComplete() - Method in class net.pincette.rs.Probe
- onComplete() - Method in class net.pincette.rs.ProcessorBase
- onComplete() - Method in class net.pincette.rs.Split
- onComplete() - Method in class net.pincette.rs.WritableByteChannelSubscriber
- onComplete(RunnableWithException) - Static method in class net.pincette.rs.Util
-
Returns a subscriber that reacts to the
onComplete
event. - onError(Throwable) - Method in class net.pincette.rs.Accumulator
- onError(Throwable) - Method in class net.pincette.rs.BlockingSubscriber
- onError(Throwable) - Method in class net.pincette.rs.Box
- onError(Throwable) - Method in class net.pincette.rs.Buffered
- onError(Throwable) - Method in class net.pincette.rs.Combine
- onError(Throwable) - Method in class net.pincette.rs.Delegate
- onError(Throwable) - Method in class net.pincette.rs.Fanout
- onError(Throwable) - Method in class net.pincette.rs.InputStreamSubscriber
- onError(Throwable) - Method in class net.pincette.rs.LambdaSubscriber
- onError(Throwable) - Method in class net.pincette.rs.Probe
- onError(Throwable) - Method in class net.pincette.rs.ProcessorBase
- onError(Throwable) - Method in class net.pincette.rs.Split
- onError(Throwable) - Method in class net.pincette.rs.WritableByteChannelSubscriber
- onError(ConsumerWithException<Throwable>) - Static method in class net.pincette.rs.Util
-
Returns a subscriber that reacts to the
onError
event. - onNext(ByteBuffer) - Method in class net.pincette.rs.InputStreamSubscriber
- onNext(ByteBuffer) - Method in class net.pincette.rs.WritableByteChannelSubscriber
- onNext(CompletionStage<T>) - Method in class net.pincette.rs.Async
- onNext(Flow.Publisher<T>) - Method in class net.pincette.rs.Flatten
- onNext(ConsumerWithException<T>) - Static method in class net.pincette.rs.Util
-
Returns a subscriber that reacts to the
onNext
event. - onNext(T) - Method in class net.pincette.rs.Accumulator
- onNext(T) - Method in class net.pincette.rs.AskForever
- onNext(T) - Method in class net.pincette.rs.AsyncDepend
- onNext(T) - Method in class net.pincette.rs.Before
- onNext(T) - Method in class net.pincette.rs.BlockingSubscriber
- onNext(T) - Method in class net.pincette.rs.Box
- onNext(T) - Method in class net.pincette.rs.Buffered
- onNext(T) - Method in class net.pincette.rs.Combine
- onNext(T) - Method in class net.pincette.rs.Commit
- onNext(T) - Method in class net.pincette.rs.Delegate
- onNext(T) - Method in class net.pincette.rs.Fanout
- onNext(T) - Method in class net.pincette.rs.HeadTail
- onNext(T) - Method in class net.pincette.rs.LambdaSubscriber
- onNext(T) - Method in class net.pincette.rs.Last
- onNext(T) - Method in class net.pincette.rs.Mapper
- onNext(T) - Method in class net.pincette.rs.Probe
- onNext(T) - Method in class net.pincette.rs.Separator
- onNext(T) - Method in class net.pincette.rs.Split
- onNext(T) - Method in class net.pincette.rs.Until
- onNextAction(List<T>) - Method in class net.pincette.rs.FlattenList
- onNextAction(T) - Method in class net.pincette.rs.Buffer
- onNextAction(T) - Method in class net.pincette.rs.Buffered
-
The
onNext
method uses this method. - onNextAction(T) - Method in class net.pincette.rs.Encode
- onNextAction(T) - Method in class net.pincette.rs.Per
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Accumulator
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.AskForever
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.BlockingSubscriber
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Box
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Buffered
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Combine
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Delegate
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Fanout
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Flatten
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.InputStreamSubscriber
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.LambdaSubscriber
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.Per
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.ProcessorBase
- onSubscribe(Flow.Subscription) - Method in class net.pincette.rs.WritableByteChannelSubscriber
- OutputStreamPublisher - Class in net.pincette.rs
-
This is an output stream that can be used as a reactive streams publisher.
- OutputStreamPublisher() - Constructor for class net.pincette.rs.OutputStreamPublisher
-
Creates the stream with a timeout of 5 seconds.
- OutputStreamPublisher(long) - Constructor for class net.pincette.rs.OutputStreamPublisher
-
Creates the stream with a timeout.
P
- passThrough() - Static method in class net.pincette.rs.PassThrough
-
Returns a
PassThrough
processor. - PassThrough<T> - Class in net.pincette.rs
-
A processor which just passes through all values.
- PassThrough() - Constructor for class net.pincette.rs.PassThrough
- per(int) - Method in class net.pincette.rs.Chain
-
Buffers a number of values.
- per(int) - Static method in class net.pincette.rs.Per
- per(int, Duration) - Method in class net.pincette.rs.Chain
-
Buffers a number of values.
- per(int, Duration) - Static method in class net.pincette.rs.Per
- per(int, Duration, Duration) - Method in class net.pincette.rs.Chain
-
Buffers a number of values.
- per(int, Duration, Duration) - Static method in class net.pincette.rs.Per
- Per<T> - Class in net.pincette.rs
-
Buffers a number of values.
- Per(int) - Constructor for class net.pincette.rs.Per
-
Create a buffer of
size
. - Per(int, Duration) - Constructor for class net.pincette.rs.Per
-
Create a buffer of
size
with a timeout. - Per(int, Duration, Duration) - Constructor for class net.pincette.rs.Per
-
Create a buffer of
size
with a timeout. - pipe(Flow.Processor<T, R>) - Static method in class net.pincette.rs.Pipe
- Pipe<T,
R> - Class in net.pincette.rs -
Creates a pipeline of multiple processors.
- Pipe(Flow.Processor<T, R>) - Constructor for class net.pincette.rs.Pipe
- probe(Runnable) - Static method in class net.pincette.rs.Probe
- probe(Consumer<Long>) - Static method in class net.pincette.rs.Probe
- probe(Consumer<Long>, Consumer<T>) - Static method in class net.pincette.rs.Probe
- probe(Consumer<Long>, Consumer<T>, Runnable) - Static method in class net.pincette.rs.Probe
- probe(Consumer<Long>, Consumer<T>, Runnable, Consumer<Throwable>) - Static method in class net.pincette.rs.Probe
- Probe<T> - Class in net.pincette.rs
-
The processor lets all values through.
- Probe(Runnable) - Constructor for class net.pincette.rs.Probe
- Probe(Consumer<Long>) - Constructor for class net.pincette.rs.Probe
- Probe(Consumer<Long>, Consumer<T>) - Constructor for class net.pincette.rs.Probe
- Probe(Consumer<Long>, Consumer<T>, Runnable) - Constructor for class net.pincette.rs.Probe
- Probe(Consumer<Long>, Consumer<T>, Runnable, Consumer<Throwable>) - Constructor for class net.pincette.rs.Probe
- ProcessorBase<T,
R> - Class in net.pincette.rs -
A base class for reactive streams processors.
- ProcessorBase() - Constructor for class net.pincette.rs.ProcessorBase
- pull(Flow.Processor<T, R>) - Static method in class net.pincette.rs.Util
-
Pulls data from a processor without doing anything with it.
R
- read() - Method in class net.pincette.rs.InputStreamSubscriber
- read(byte[], int, int) - Method in class net.pincette.rs.InputStreamSubscriber
- readableByteChannel(ReadableByteChannel) - Static method in class net.pincette.rs.ReadableByteChannelPublisher
-
Creates a publisher with a channel.
- readableByteChannel(ReadableByteChannel, boolean) - Static method in class net.pincette.rs.ReadableByteChannelPublisher
-
Creates a publisher with a channel.
- readableByteChannel(ReadableByteChannel, boolean, int) - Static method in class net.pincette.rs.ReadableByteChannelPublisher
-
Creates a publisher with a channel.
- ReadableByteChannelPublisher - Class in net.pincette.rs
-
Publishes the contents of a channel as
ByteBuffer
s. - ReadableByteChannelPublisher(ReadableByteChannel) - Constructor for class net.pincette.rs.ReadableByteChannelPublisher
-
Creates a publisher with a channel.
- ReadableByteChannelPublisher(ReadableByteChannel, boolean) - Constructor for class net.pincette.rs.ReadableByteChannelPublisher
-
Creates a publisher with a channel.
- ReadableByteChannelPublisher(ReadableByteChannel, boolean, int) - Constructor for class net.pincette.rs.ReadableByteChannelPublisher
-
Creates a publisher with a channel.
- reduce(Flow.Publisher<T>, BinaryOperator<T>) - Static method in class net.pincette.rs.Reducer
-
Accumulates all the values emitted by the publisher by combining them.
- reduce(Flow.Publisher<T>, Supplier<U>, BiFunction<U, T, U>) - Static method in class net.pincette.rs.Reducer
-
Accumulates all the values emitted by the publisher into a new value.
- reduceJoin(Flow.Publisher<T>, BinaryOperator<T>) - Static method in class net.pincette.rs.Reducer
-
Accumulates all the values emitted by the publisher by combining them and makes it synchronous.
- reduceJoin(Flow.Publisher<T>, Supplier<U>, BiFunction<U, T, U>) - Static method in class net.pincette.rs.Reducer
-
Accumulates all the values emitted by the publisher into a new value and makes it synchronous.
- Reducer - Class in net.pincette.rs
-
Functions to reduce a publisher and return the result as a
CompletionStage
. - request(long) - Method in class net.pincette.rs.NopSubscription
- retryPublisher(Supplier<Flow.Publisher<T>>, Duration) - Static method in class net.pincette.rs.Util
-
Returns a publisher that will recreate the original publisher when an exception occurs.
- retryPublisher(Supplier<Flow.Publisher<T>>, Duration, Consumer<Throwable>) - Static method in class net.pincette.rs.Util
-
Returns a publisher that will recreate the original publisher when an exception occurs.
S
- second - Variable in class net.pincette.rs.Box
- separate(Supplier<T>) - Method in class net.pincette.rs.Chain
-
Puts the result of
value
between the emitted values. - separate(T) - Method in class net.pincette.rs.Chain
-
Puts
value
between the emitted values. - separator(Supplier<T>) - Static method in class net.pincette.rs.Separator
- separator(T) - Static method in class net.pincette.rs.Separator
- Separator<T> - Class in net.pincette.rs
-
A processor which emits a given value between the incoming value stream.
- Separator(Supplier<T>) - Constructor for class net.pincette.rs.Separator
- Separator(T) - Constructor for class net.pincette.rs.Separator
- Serializer - Class in net.pincette.rs
-
This can be used to serialize the execution of mutating operations instead of locking the state within them.
- setError(boolean) - Method in class net.pincette.rs.ProcessorBase
- Source<T> - Class in net.pincette.rs
-
Emits a list of values.
- split() - Method in class net.pincette.rs.Chain
-
When the upstream or downstream could cause races, this processor serializes everything with a thread and a blocking queue.
- split() - Static method in class net.pincette.rs.Split
- Split<T> - Class in net.pincette.rs
-
When the upstream or downstream could cause races, this processor serializes everything.
- Split() - Constructor for class net.pincette.rs.Split
- spliterator() - Method in class net.pincette.rs.BlockingSubscriber
-
Returns an ordered immutable spliterator that will not split.
- subscribe(Flow.Processor<T, R>, Flow.Subscriber<R>) - Static method in class net.pincette.rs.Util
-
Subscribes
subscriber
toprocessor
and returnsprocessor
as a subscriber. - subscribe(Flow.Publisher<T>, Flow.Processor<T, R>) - Static method in class net.pincette.rs.Util
-
Subscribes
processor
topublisher
and returns the processor as a publisher. - subscribe(Flow.Subscriber<? super ByteBuffer>) - Method in class net.pincette.rs.OutputStreamPublisher
- subscribe(Flow.Subscriber<? super ByteBuffer>) - Method in class net.pincette.rs.ReadableByteChannelPublisher
- subscribe(Flow.Subscriber<? super R>) - Method in class net.pincette.rs.Box
- subscribe(Flow.Subscriber<? super R>) - Method in class net.pincette.rs.Combine
- subscribe(Flow.Subscriber<? super R>) - Method in class net.pincette.rs.Delegate
- subscribe(Flow.Subscriber<? super R>) - Method in class net.pincette.rs.ProcessorBase
- subscribe(Flow.Subscriber<? super T>) - Method in class net.pincette.rs.Concat
- subscribe(Flow.Subscriber<? super T>) - Method in class net.pincette.rs.DequePublisher
- subscribe(Flow.Subscriber<? super T>) - Method in class net.pincette.rs.Flatten
- subscribe(Flow.Subscriber<? super T>) - Method in class net.pincette.rs.Merge
- subscribe(Flow.Subscriber<? super T>) - Method in class net.pincette.rs.Source
- subscriber - Variable in class net.pincette.rs.ProcessorBase
- subscription - Variable in class net.pincette.rs.ProcessorBase
T
- tap(Flow.Subscriber<T>) - Static method in class net.pincette.rs.Util
-
Creates a processor where a subscriber can tap the data that goes through it.
- then(Flow.Processor<R, U>) - Method in class net.pincette.rs.Pipe
U
- until(Predicate<T>) - Method in class net.pincette.rs.Chain
-
Appends a processor that emits values until it receives one that matches
predicate
, which is also emitted. - until(Predicate<T>) - Static method in class net.pincette.rs.Until
- Until<T> - Class in net.pincette.rs
-
Emits the values until it receives one that matches the predicate, which is also emitted.
- Until(Predicate<T>) - Constructor for class net.pincette.rs.Until
- Util - Class in net.pincette.rs
-
Some utilities.
W
- with(Flow.Publisher<T>) - Static method in class net.pincette.rs.Chain
-
Creates a chain with the initial
publisher
. - writableByteChannel(WritableByteChannel) - Static method in class net.pincette.rs.WritableByteChannelSubscriber
-
Creates a subscriber with a channel.
- writableByteChannel(WritableByteChannel, boolean) - Static method in class net.pincette.rs.WritableByteChannelSubscriber
-
Creates a subscriber with a channel.
- WritableByteChannelSubscriber - Class in net.pincette.rs
-
Consumes a reactive stream of
ByteBuffer
and writes it to a channel. - WritableByteChannelSubscriber(WritableByteChannel) - Constructor for class net.pincette.rs.WritableByteChannelSubscriber
-
Creates a subscriber with a channel.
- WritableByteChannelSubscriber(WritableByteChannel, boolean) - Constructor for class net.pincette.rs.WritableByteChannelSubscriber
-
Creates a subscriber with a channel.
- write(byte[]) - Method in class net.pincette.rs.OutputStreamPublisher
- write(byte[], int, int) - Method in class net.pincette.rs.OutputStreamPublisher
- write(int) - Method in class net.pincette.rs.OutputStreamPublisher
All Classes and Interfaces|All Packages