Skip navigation links
A B C D E F G H I K L M N O P R S T W Z 

A

accumulate(T) - Method in interface BufferStrategy.Accumulator
Adds the passed item to this BufferStrategy.Accumulator.
add(T) - Method in interface BlockingProcessorSignalsHolder
Adds an item to this holder.
add(T) - Method in interface PublisherProcessorSignalsHolder
Adds an item to this holder.
afterCancel(Runnable) - Method in class Completable
Invokes the onCancel Runnable argument after Cancellable.cancel() is called for Subscriptions of the returned Completable.
afterCancel(Runnable) - Method in class Publisher
Invokes the onCancel Runnable argument after Cancellable.cancel() is called for PublisherSource.Subscriptions of the returned Publisher.
afterCancel(Runnable) - Method in class Single
Invokes the onCancel Runnable argument after Cancellable.cancel() is called for Subscriptions of the returned Single.
afterFinally(Runnable) - Method in class Completable
Invokes the whenFinally Runnable argument after any of the following terminal methods are called: CompletableSource.Subscriber.onComplete() CompletableSource.Subscriber.onError(Throwable) Cancellable.cancel() for Subscriptions/CompletableSource.Subscribers of the returned Completable.
afterFinally(TerminalSignalConsumer) - Method in class Completable
Invokes the corresponding method on afterFinally TerminalSignalConsumer argument after any of the following terminal methods are called: CompletableSource.Subscriber.onComplete() - invokes onComplete() CompletableSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for Subscriptions/CompletableSource.Subscribers of the returned Completable.
afterFinally(Runnable) - Method in class Publisher
Invokes the afterFinally Runnable argument after any of the following terminal methods are called: PublisherSource.Subscriber.onComplete() PublisherSource.Subscriber.onError(Throwable) Cancellable.cancel() for PublisherSource.Subscriptions/PublisherSource.Subscribers of the returned Publisher.
afterFinally(TerminalSignalConsumer) - Method in class Publisher
Invokes the corresponding method on afterFinally TerminalSignalConsumer argument after any of the following terminal methods are called: PublisherSource.Subscriber.onComplete() - invokes onComplete() PublisherSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for PublisherSource.Subscriptions/PublisherSource.Subscribers of the returned Publisher.
afterFinally() - Method in interface ScanWithLifetimeMapper
Invoked after a terminal signal PublisherSource.Subscriber#onError(Throwable) or PublisherSource.Subscriber#onComplete() or PublisherSource.Subscription#cancel().
afterFinally(Runnable) - Method in class Single
Invokes the whenFinally Runnable argument after any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) SingleSource.Subscriber.onError(Throwable) Cancellable.cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
afterFinally(TerminalSignalConsumer) - Method in class Single
Invokes the corresponding method on afterFinally TerminalSignalConsumer argument after any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) - invokes onComplete() SingleSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
afterFinally(SingleTerminalSignalConsumer<? super T>) - Method in class Single
Invokes the corresponding method on afterFinally SingleTerminalSignalConsumer argument after any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) - invokes SingleTerminalSignalConsumer.onSuccess(Object) SingleSource.Subscriber.onError(Throwable) - invokes SingleTerminalSignalConsumer.onError(Throwable) Cancellable.cancel() - invokes SingleTerminalSignalConsumer.cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
afterOnComplete(Runnable) - Method in class Completable
Invokes the onComplete Runnable argument after CompletableSource.Subscriber.onComplete() is called for CompletableSource.Subscribers of the returned Completable.
afterOnComplete(Runnable) - Method in class Publisher
Invokes the onComplete Runnable argument after PublisherSource.Subscriber.onComplete() is called for PublisherSource.Subscribers of the returned Publisher.
afterOnError(Consumer<Throwable>) - Method in class Completable
Invokes the onError Consumer argument after CompletableSource.Subscriber.onError(Throwable) is called for CompletableSource.Subscribers of the returned Completable.
afterOnError(Consumer<Throwable>) - Method in class Publisher
Invokes the onError Consumer argument after PublisherSource.Subscriber.onError(Throwable) is called for PublisherSource.Subscribers of the returned Publisher.
afterOnError(Consumer<Throwable>) - Method in class Single
Invokes the onError Consumer argument after SingleSource.Subscriber.onError(Throwable) is called for SingleSource.Subscribers of the returned Single.
afterOnNext(Consumer<? super T>) - Method in class Publisher
Invokes the onNext Consumer argument after PublisherSource.Subscriber.onNext(Object) is called for PublisherSource.Subscribers of the returned Publisher.
afterOnSubscribe(Consumer<Cancellable>) - Method in class Completable
Invokes the onSubscribe Consumer argument after CompletableSource.Subscriber.onSubscribe(Cancellable) is called for CompletableSource.Subscribers of the returned Completable.
afterOnSubscribe(Consumer<? super PublisherSource.Subscription>) - Method in class Publisher
Invokes the onSubscribe Consumer argument after PublisherSource.Subscriber.onSubscribe(PublisherSource.Subscription) is called for PublisherSource.Subscribers of the returned Publisher.
afterOnSubscribe(Consumer<Cancellable>) - Method in class Single
Invokes the onSubscribe Consumer argument after SingleSource.Subscriber.onSubscribe(Cancellable) is called for SingleSource.Subscribers of the returned Single.
afterOnSuccess(Consumer<? super T>) - Method in class Single
Invokes the onSuccess Consumer argument after SingleSource.Subscriber.onSuccess(Object) is called for SingleSource.Subscribers of the returned Single.
afterRequest(LongConsumer) - Method in class Publisher
Invokes the onRequest LongConsumer argument after PublisherSource.Subscription.request(long) is called for PublisherSource.Subscriptions of the returned Publisher.
afterSubscriber(Supplier<? extends CompletableSource.Subscriber>) - Method in class Completable
Creates a new CompletableSource.Subscriber (via the subscriberSupplier argument) on each call to subscribe and invokes all the CompletableSource.Subscriber methods after the CompletableSource.Subscribers of the returned Completable.
afterSubscriber(Supplier<? extends PublisherSource.Subscriber<? super T>>) - Method in class Publisher
Creates a new PublisherSource.Subscriber (via the subscriberSupplier argument) for each new subscribe and invokes all the PublisherSource.Subscriber methods after the PublisherSource.Subscribers of the returned Publisher.
afterSubscriber(Supplier<? extends SingleSource.Subscriber<? super T>>) - Method in class Single
Creates a new SingleSource.Subscriber (via the subscriberSupplier argument) on each call to subscribe and invokes all the SingleSource.Subscriber methods after the SingleSource.Subscribers of the returned Single.
afterSubscription(Supplier<? extends PublisherSource.Subscription>) - Method in class Publisher
Creates a new PublisherSource.Subscription (via the subscriptionSupplier argument) for each new subscribe and invokes all the PublisherSource.Subscription methods after the PublisherSource.Subscriptions of the returned Publisher.
amb(Completable...) - Static method in class Completable
Creates a new Completable that terminates with the result (either success or error) of whichever amongst the passed completables that terminates first.
amb(Iterable<Completable>) - Static method in class Completable
Creates a new Completable that terminates with the result (either success or error) of whichever amongst the passed completables that terminates first.
amb(Single<? extends T>...) - Static method in class Single
Creates a new Single that terminates with the result (either success or error) of whichever amongst the passed singles that terminates first.
amb(Iterable<Single<? extends T>>) - Static method in class Single
Creates a new Single that terminates with the result (either success or error) of whichever amongst the passed singles that terminates first.
ambWith(Completable) - Method in class Completable
Creates a new Completable that terminates with the result (either success or error) of either this Completable or the passed other Completable, whichever terminates first.
ambWith(Single<T>) - Method in class Single
Creates a new Single that terminates with the result (either success or error) of either this Single or the passed other Single, whichever terminates first.
anyOf(Completable...) - Static method in class Completable
Creates a new Completable that terminates with the result (either success or error) of whichever amongst the passed completables that terminates first.
anyOf(Iterable<Completable>) - Static method in class Completable
Creates a new Completable that terminates with the result (either success or error) of whichever amongst the passed completables that terminates first.
anyOf(Single<? extends T>...) - Static method in class Single
Creates a new Single that terminates with the result (either success or error) of whichever amongst the passed singles that terminates first.
anyOf(Iterable<Single<? extends T>>) - Static method in class Single
Creates a new Single that terminates with the result (either success or error) of whichever amongst the passed singles that terminates first.
append(T) - Method in interface CompositeCloseable
Appends the passed AsyncCloseable with this CompositeCloseable such that when this CompositeCloseable is closed, all of the previously registered AsyncCloseables are closed too.
appendAll(AsyncCloseable...) - Method in interface CompositeCloseable
Appends all the passed AsyncCloseables with this CompositeCloseable such that when this CompositeCloseable is closed, all of these AsyncCloseables are closed too.
appendAll(Iterable<? extends AsyncCloseable>) - Method in interface CompositeCloseable
Appends all the passed AsyncCloseables with this CompositeCloseable such that when this CompositeCloseable is closed, all of these AsyncCloseables are closed too.
apply(int, T) - Method in interface BiIntFunction
Evaluates this function on the given arguments.
apply(CompletableSource.Subscriber) - Method in interface CompletableOperator
Implementation of this operator.
apply(T1, T2, T3) - Method in interface Function3
Applies the function to the given arguments.
apply(T1, T2, T3, T4) - Method in interface Function4
Applies the function to the given arguments.
apply(PublisherSource.Subscriber<? super R>) - Method in interface PublisherOperator
Implementation of this operator.
apply(SingleSource.Subscriber<? super R>) - Method in interface PublisherToSingleOperator
Implementation of this operator.
apply(SingleSource.Subscriber<? super R>) - Method in interface SingleOperator
Implementation of this operator.
AsyncCloseable - Interface in io.servicetalk.concurrent.api
Used to close/shutdown a resource.
AsyncCloseables - Class in io.servicetalk.concurrent.api
A utility class to create AsyncCloseables.
AsyncCloseables.CloseableResource - Interface in io.servicetalk.concurrent.api
A resource that can be converted to an AsyncCloseable.
AsyncContext - Class in io.servicetalk.concurrent.api
Presents a static interface to retain state in an asynchronous environment.
AsyncContextMap - Interface in io.servicetalk.concurrent.api
The key-value map stored in the AsyncContext.
asyncContextMap(AsyncContextMap) - Method in interface AsyncContextMapHolder
asyncContextMap() - Method in interface AsyncContextMapHolder
Get the current AsyncContextMap.
AsyncContextMap.Key<T> - Class in io.servicetalk.concurrent.api
A key identifies a specific object in a AsyncContextMap.
AsyncContextMapHolder - Interface in io.servicetalk.concurrent.api
Interface for setting and getting a AsyncContextMap.
AutoCloseables - Class in io.servicetalk.concurrent.api
A utility class for methods related to AutoCloseable.

B

beforeCancel(Runnable) - Method in class Completable
Invokes the onCancel Runnable argument before Cancellable.cancel() is called for Subscriptions of the returned Completable.
beforeCancel(Runnable) - Method in class Publisher
Invokes the onCancel Runnable argument before Cancellable.cancel() is called for PublisherSource.Subscriptions of the returned Publisher.
beforeCancel(Runnable) - Method in class Single
Invokes the onCancel Runnable argument before Cancellable.cancel() is called for Subscriptions of the returned Single.
beforeFinally(Runnable) - Method in class Completable
Invokes the whenFinally Runnable argument before any of the following terminal methods are called: CompletableSource.Subscriber.onComplete() CompletableSource.Subscriber.onError(Throwable) Cancellable.cancel() for Subscriptions/CompletableSource.Subscribers of the returned Completable.
beforeFinally(TerminalSignalConsumer) - Method in class Completable
Invokes the corresponding method on beforeFinally TerminalSignalConsumer argument before any of the following terminal methods are called: CompletableSource.Subscriber.onComplete() - invokes onComplete() CompletableSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for Subscriptions/CompletableSource.Subscribers of the returned Completable.
beforeFinally(Runnable) - Method in class Publisher
Invokes the beforeFinally Runnable argument before any of the following terminal methods are called: PublisherSource.Subscriber.onComplete() PublisherSource.Subscriber.onError(Throwable) Cancellable.cancel() for PublisherSource.Subscriptions/PublisherSource.Subscribers of the returned Publisher.
beforeFinally(TerminalSignalConsumer) - Method in class Publisher
Invokes the corresponding method on beforeFinally TerminalSignalConsumer argument before any of the following terminal methods are called: PublisherSource.Subscriber.onComplete() - invokes onComplete() PublisherSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for PublisherSource.Subscriptions/PublisherSource.Subscribers of the returned Publisher.
beforeFinally(Runnable) - Method in class Single
Invokes the whenFinally Runnable argument before any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) SingleSource.Subscriber.onError(Throwable) Cancellable.cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
beforeFinally(TerminalSignalConsumer) - Method in class Single
Invokes the corresponding method on beforeFinally TerminalSignalConsumer argument before any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) - invokes onComplete() SingleSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
beforeFinally(SingleTerminalSignalConsumer<? super T>) - Method in class Single
Invokes the corresponding method on beforeFinally SingleTerminalSignalConsumer argument before any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) - invokes SingleTerminalSignalConsumer.onSuccess(Object) SingleSource.Subscriber.onError(Throwable) - invokes SingleTerminalSignalConsumer.onError(Throwable) Cancellable.cancel() - invokes SingleTerminalSignalConsumer.cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
beforeOnComplete(Runnable) - Method in class Completable
Invokes the onComplete Runnable argument before CompletableSource.Subscriber.onComplete() is called for CompletableSource.Subscribers of the returned Completable.
beforeOnComplete(Runnable) - Method in class Publisher
Invokes the onComplete Runnable argument before PublisherSource.Subscriber.onComplete() is called for PublisherSource.Subscribers of the returned Publisher.
beforeOnError(Consumer<Throwable>) - Method in class Completable
Invokes the onError Consumer argument before CompletableSource.Subscriber.onError(Throwable) is called for CompletableSource.Subscribers of the returned Completable.
beforeOnError(Consumer<Throwable>) - Method in class Publisher
Invokes the onError Consumer argument before PublisherSource.Subscriber.onError(Throwable) is called for PublisherSource.Subscribers of the returned Publisher.
beforeOnError(Consumer<Throwable>) - Method in class Single
Invokes the onError Consumer argument before SingleSource.Subscriber.onError(Throwable) is called for SingleSource.Subscribers of the returned Single.
beforeOnNext(Consumer<? super T>) - Method in class Publisher
Invokes the onNext Consumer argument before PublisherSource.Subscriber.onNext(Object) is called for PublisherSource.Subscribers of the returned Publisher.
beforeOnSubscribe(Consumer<Cancellable>) - Method in class Completable
Invokes the onSubscribe Consumer argument before CompletableSource.Subscriber.onSubscribe(Cancellable) is called for CompletableSource.Subscribers of the returned Completable.
beforeOnSubscribe(Consumer<? super PublisherSource.Subscription>) - Method in class Publisher
Invokes the onSubscribe Consumer argument before PublisherSource.Subscriber.onSubscribe(PublisherSource.Subscription) is called for PublisherSource.Subscribers of the returned Publisher.
beforeOnSubscribe(Consumer<Cancellable>) - Method in class Single
Invokes the onSubscribe Consumer argument before SingleSource.Subscriber.onSubscribe(Cancellable) is called for SingleSource.Subscribers of the returned Single.
beforeOnSuccess(Consumer<? super T>) - Method in class Single
Invokes the onSuccess Consumer argument before SingleSource.Subscriber.onSuccess(Object) is called for SingleSource.Subscribers of the returned Single.
beforeRequest(LongConsumer) - Method in class Publisher
Invokes the onRequest LongConsumer argument before PublisherSource.Subscription.request(long) is called for PublisherSource.Subscriptions of the returned Publisher.
beforeSubscriber(Supplier<? extends CompletableSource.Subscriber>) - Method in class Completable
Creates a new CompletableSource.Subscriber (via the subscriberSupplier argument) on each call to subscribe and invokes all the CompletableSource.Subscriber methods before the CompletableSource.Subscribers of the returned Completable.
beforeSubscriber(Supplier<? extends PublisherSource.Subscriber<? super T>>) - Method in class Publisher
Creates a new PublisherSource.Subscriber (via the subscriberSupplier argument) on each call to subscribe and invokes all the PublisherSource.Subscriber methods before the PublisherSource.Subscribers of the returned Publisher.
beforeSubscriber(Supplier<? extends SingleSource.Subscriber<? super T>>) - Method in class Single
Creates a new SingleSource.Subscriber (via the subscriberSupplier argument) on each call to subscribe and invokes all the SingleSource.Subscriber methods before the SingleSource.Subscribers of the returned Single.
beforeSubscription(Supplier<? extends PublisherSource.Subscription>) - Method in class Publisher
Creates a new PublisherSource.Subscription (via the subscriptionSupplier argument) on each call to subscribe and invokes all the PublisherSource.Subscription methods before the PublisherSource.Subscriptions of the returned Publisher.
BiIntFunction<T,R> - Interface in io.servicetalk.concurrent.api
A special function that takes an int and a custom argument and returns the result.
BiIntPredicate<T> - Interface in io.servicetalk.concurrent.api
A special predicate that takes an int and a custom argument to evaluate.
BlockingProcessorSignalsHolder<T> - Interface in io.servicetalk.concurrent.api
A holder of items for a BlockingIterable.Processor.
boundaries() - Method in interface BufferStrategy
Returns a Publisher representing asynchronous buffer boundaries.
buffer(BufferStrategy<T, BC, B>) - Method in class Publisher
Create a Publisher that buffers items from this Publisher and emit those buffers instead of the individual items.
bufferSizeHint() - Method in interface BufferStrategy
A rough estimate of the number of items in a buffer.
BufferStrategies - Class in io.servicetalk.concurrent.api
A static factory of BufferStrategy instances.
BufferStrategy<T,BC extends BufferStrategy.Accumulator<T,B>,B> - Interface in io.servicetalk.concurrent.api
A strategy for buffering items emitted from a Publisher.
BufferStrategy.Accumulator<T,B> - Interface in io.servicetalk.concurrent.api
An intermediate mutable object that holds items till it is finished.

C

calculateMaxQueueSize(int) - Method in interface GroupedPublisher.QueueSizeProvider
Calculate the maximum queue size for a particular GroupedPublisher key.
cancel() - Method in interface SingleTerminalSignalConsumer
Callback to indicate termination via Cancellable.cancel().
cancel() - Method in interface TerminalSignalConsumer
Callback to indicate termination via Cancellable.cancel().
clear() - Static method in class AsyncContext
Convenience method to clear all the key/value pairs from the current context.
clear() - Method in interface AsyncContextMap
Clear the contents of this AsyncContextMap.
close() - Method in interface CompositeCloseable
Closes all contained AsyncCloseables and awaits termination of all of them.
closeAsync() - Method in interface AsyncCloseable
Used to close/shutdown a resource.
closeAsync() - Method in interface CompositeCloseable
Closes all contained AsyncCloseables.
closeAsync() - Method in class DelegatingExecutor
 
closeAsyncGracefully() - Method in interface AsyncCloseable
Used to close/shutdown a resource, similar to AsyncCloseable.closeAsync(), but attempts to cleanup state before abruptly closing.
closeAsyncGracefully(AsyncCloseable, long, TimeUnit) - Static method in class AsyncCloseables
Invokes AsyncCloseable.closeAsyncGracefully() on the closable, applies a timeout, and if the timeout fires forces a call to AsyncCloseable.closeAsync().
closeAsyncGracefully() - Method in class DelegatingExecutor
 
closeGracefully(Executor, GracefulAutoCloseable, long, TimeUnit) - Static method in class AutoCloseables
Invokes GracefulAutoCloseable.closeGracefully() on the closable, applies a timeout, and if the timeout fires forces a call to AutoCloseable.close().
collect(Supplier<? extends R>, BiFunction<? super R, ? super T, R>) - Method in class Publisher
Collects all items emitted by this Publisher into a single item.
collectUnordered(Iterable<? extends Single<? extends T>>) - Static method in class Single
Asynchronously collects results of individual Singles returned by the passed Iterable into a single Collection.
collectUnordered(Single<? extends T>...) - Static method in class Single
Asynchronously collects results of the passed Singles into a single Collection.
collectUnordered(Iterable<? extends Single<? extends T>>, int) - Static method in class Single
Asynchronously collects results of individual Singles returned by the passed Iterable into a single Collection.
collectUnordered(int, Single<? extends T>...) - Static method in class Single
Asynchronously collects results of the passed Singles into a single Collection.
collectUnorderedDelayError(Iterable<? extends Single<? extends T>>) - Static method in class Single
Asynchronously collects results of individual Singles returned by the passed Iterable into a single Collection.
collectUnorderedDelayError(Single<? extends T>...) - Static method in class Single
Asynchronously collects results of the passed Singles into a single Collection.
collectUnorderedDelayError(Iterable<? extends Single<? extends T>>, int) - Static method in class Single
Asynchronously collects results of individual Singles returned by the passed Iterable into a single Collection.
collectUnorderedDelayError(int, Single<? extends T>...) - Static method in class Single
Asynchronously collects results of the passed Singles into a single Collection.
Completable - Class in io.servicetalk.concurrent.api
An asynchronous computation that does not emit any data.
Completable() - Constructor for class Completable
New instance.
CompletableOperator - Interface in io.servicetalk.concurrent.api
An operator contract for a Completable.
completableOrError() - Method in class Publisher
Converts this Publisher to a Completable.
completed() - Static method in class Completable
Creates a realized completed Completable.
CompositeCloseable - Interface in io.servicetalk.concurrent.api
A AsyncCloseable and Closeable that allows for adding new AsyncCloseables till it is closed.
concat(Completable) - Method in class Completable
Once this Completable is terminated successfully, subscribe to next Completable and propagate its terminal signal to the returned Completable.
concat(Single<? extends T>) - Method in class Completable
Once this Completable is terminated successfully, subscribe to next Single and propagate the result to the returned Single.
concat(Publisher<? extends T>) - Method in class Completable
Once this Completable is terminated successfully, subscribe to next Publisher and propagate all emissions to the returned Publisher.
concat(Publisher<? extends T>) - Method in class Publisher
Emits items emitted by next Publisher after this Publisher terminates successfully.
concat(Single<? extends T>) - Method in class Publisher
Listens and emits the result of next Single after this Publisher terminates successfully.
concat(Completable) - Method in class Publisher
Listens for completion of next Completable after this Publisher terminates successfully.
concat(Single<? extends T>) - Method in class Single
Returns a Publisher that first emits the result of this Single and then subscribes and emits result of next Single.
concat(Completable) - Method in class Single
Returns a Single that emits the result of this Single after next Completable terminates successfully.
concat(Publisher<? extends T>) - Method in class Single
Returns a Publisher that first emits the result of this Single and then subscribes and emits all elements from next Publisher.
concat(Publisher<? extends T>, boolean) - Method in class Single
Returns a Publisher that first emits the result of this Single and then subscribes and emits all elements from next Publisher.
consume(ProcessorSignalsConsumer<T>) - Method in interface BlockingProcessorSignalsHolder
Consumes the next item stored in this holder.
consume(ProcessorSignalsConsumer<T>, long, TimeUnit) - Method in interface BlockingProcessorSignalsHolder
Consumes the next item stored in this holder.
consumeItem(T) - Method in interface ProcessorSignalsConsumer
Consumes the passed item.
consumeTerminal(Throwable) - Method in interface ProcessorSignalsConsumer
Consumes the Throwable that terminated the holder.
consumeTerminal() - Method in interface ProcessorSignalsConsumer
Consumes the termination of the holder.
containsKey(AsyncContextMap.Key<?>) - Static method in class AsyncContext
Convenience method to determine if the current context contains a key/value entry corresponding to key.
containsKey(AsyncContextMap.Key<?>) - Method in interface AsyncContextMap
Determine if this context contains a key/value entry corresponding to key.
copy() - Method in interface AsyncContextMap
Create an isolated copy of the current map.
current() - Static method in class AsyncContext
Get the current AsyncContextMap.

D

DEFAULT_NAME_PREFIX - Static variable in class DefaultThreadFactory
The default prefix used for new thread names.
DefaultThreadFactory - Class in io.servicetalk.concurrent.api
A ThreadFactory implementation.
DefaultThreadFactory() - Constructor for class DefaultThreadFactory
New instance that creates daemon threads with Thread.NORM_PRIORITY priority.
DefaultThreadFactory(boolean) - Constructor for class DefaultThreadFactory
New instance that creates threads with Thread.NORM_PRIORITY priority.
DefaultThreadFactory(int) - Constructor for class DefaultThreadFactory
New instance that creates daemon threads.
DefaultThreadFactory(String) - Constructor for class DefaultThreadFactory
Create a new instance.
DefaultThreadFactory(boolean, int) - Constructor for class DefaultThreadFactory
New instance.
DefaultThreadFactory(String, boolean, int) - Constructor for class DefaultThreadFactory
New instance.
defer(Supplier<? extends Completable>) - Static method in class Completable
Defer creation of a Completable till it is subscribed to.
defer(Supplier<? extends Publisher<? extends T>>) - Static method in class Publisher
Defers creation of a Publisher till it is subscribed.
defer(Supplier<? extends Single<? extends T>>) - Static method in class Single
Defer creation of a Single till it is subscribed to.
delegate() - Method in class DelegatingExecutor
Returns the delegate Executor used.
DelegatingExecutor - Class in io.servicetalk.concurrent.api
An Executor that simply delegates all calls to another Executor.
DelegatingExecutor(Executor) - Constructor for class DelegatingExecutor
New instance.
disable() - Static method in class AsyncContext
Disable AsyncContext.
doClose(boolean) - Method in interface AsyncCloseables.CloseableResource
Supplies the Completable representing the close.

E

empty() - Static method in class Publisher
Creates a new Publisher that completes when subscribed without emitting any item to its PublisherSource.Subscriber.
emptyAsyncCloseable() - Static method in class AsyncCloseables
Creates an empty ListenableAsyncCloseable that does nothing when AsyncCloseable.closeAsync() apart from completing the ListenableAsyncCloseable.onClose().
execute(Runnable) - Method in class DelegatingExecutor
 
Executor - Interface in io.servicetalk.concurrent.api
A general abstraction to execute immediate and delayed tasks.
Executors - Class in io.servicetalk.concurrent.api
Utility methods to create various Executors.

F

failed(Throwable) - Static method in class Completable
Creates a realized failed Completable.
failed(Throwable) - Static method in class Publisher
Creates a new Publisher that terminates its PublisherSource.Subscriber with an error without emitting any item to it.
failed(Throwable) - Static method in class Single
Creates a realized Single which always completes with the provided error cause.
filter(Predicate<? super T>) - Method in class Publisher
Filters items emitted by this Publisher.
finish() - Method in interface BufferStrategy.Accumulator
Finishes accumulation and returns the accumulated value.
firstOrElse(Supplier<T>) - Method in class Publisher
Converts this Publisher to a Single.
firstOrError() - Method in class Publisher
Ensures that this Publisher emits exactly a single PublisherSource.Subscriber.onNext(Object) to its PublisherSource.Subscriber.
flatMap(Function<? super T, ? extends Single<? extends R>>) - Method in class Single
Returns a Single that mirrors emissions from the Single returned by next.
flatMapCompletable(Function<? super T, ? extends Completable>) - Method in class Publisher
Map each element of this Publisher into a Completable and flatten all signals such that the returned Completable terminates when all mapped Completables have terminated successfully or any one of them has terminated with a failure.
flatMapCompletable(Function<? super T, ? extends Completable>, int) - Method in class Publisher
Map each element of this Publisher into a Completable and flatten all signals such that the returned Completable terminates when all mapped Completables have terminated successfully or any one of them has terminated with a failure.
flatMapCompletable(Function<? super T, ? extends Completable>) - Method in class Single
Returns a Completable that mirrors emissions from the Completable returned by next.
flatMapCompletableDelayError(Function<? super T, ? extends Completable>) - Method in class Publisher
Map each element of this Publisher into a Completable and flatten all signals such that the returned Completable terminates when all mapped Completables have terminated successfully or any one of them has terminated with a failure.
flatMapCompletableDelayError(Function<? super T, ? extends Completable>, int) - Method in class Publisher
Map each element of this Publisher into a Completable and flatten all signals such that the returned Completable terminates when all mapped Completables have terminated successfully or any one of them has terminated with a failure.
flatMapCompletableDelayError(Function<? super T, ? extends Completable>, int, int) - Method in class Publisher
Map each element of this Publisher into a Completable and flatten all signals such that the returned Completable terminates when all mapped Completables have terminated successfully or any one of them has terminated with a failure.
flatMapConcatIterable(Function<? super T, ? extends Iterable<? extends R>>) - Method in class Publisher
Create a Publisher that flattens each element returned by the Iterable.iterator() from mapper.
flatMapMerge(Function<? super T, ? extends Publisher<? extends R>>) - Method in class Publisher
Map each element of this Publisher into a Publisher<R> and flatten all signals emitted from each mapped Publisher<R> into the returned Publisher<R>.
flatMapMerge(Function<? super T, ? extends Publisher<? extends R>>, int) - Method in class Publisher
Map each element of this Publisher into a Publisher<R> and flatten all signals emitted from each mapped Publisher<R> into the returned Publisher<R>.
flatMapMergeDelayError(Function<? super T, ? extends Publisher<? extends R>>) - Method in class Publisher
Map each element of this Publisher into a Publisher<R> and flatten all signals emitted from each mapped Publisher<R> into the returned Publisher<R>.
flatMapMergeDelayError(Function<? super T, ? extends Publisher<? extends R>>, int) - Method in class Publisher
Map each element of this Publisher into a Publisher<R> and flatten all signals emitted from each mapped Publisher<R> into the returned Publisher<R>.
flatMapMergeDelayError(Function<? super T, ? extends Publisher<? extends R>>, int, int) - Method in class Publisher
Map each element of this Publisher into a Publisher<R> and flatten all signals emitted from each mapped Publisher<R> into the returned Publisher<R>.
flatMapMergeSingle(Function<? super T, ? extends Single<? extends R>>) - Method in class Publisher
Map each element of this Publisher into a Single<R> and flatten all signals emitted from each mapped Single<R> into the returned Publisher<R>.
flatMapMergeSingle(Function<? super T, ? extends Single<? extends R>>, int) - Method in class Publisher
Map each element of this Publisher into a Single<R> and flatten all signals emitted from each mapped Single<R> into the returned Publisher<R>.
flatMapMergeSingleDelayError(Function<? super T, ? extends Single<? extends R>>) - Method in class Publisher
Map each element of this Publisher into a Single<R> and flatten all signals emitted from each mapped Single<R> into the returned Publisher<R>.
flatMapMergeSingleDelayError(Function<? super T, ? extends Single<? extends R>>, int) - Method in class Publisher
Map each element of this Publisher into a Single<R> and flatten all signals emitted from each mapped Single<R> into the returned Publisher<R>.
flatMapMergeSingleDelayError(Function<? super T, ? extends Single<? extends R>>, int, int) - Method in class Publisher
Map each element of this Publisher into a Single<R> and flatten all signals emitted from each mapped Single<R> into the returned Publisher<R>.
flatMapPublisher(Function<? super T, ? extends Publisher<? extends R>>) - Method in class Single
Returns a Publisher that mirrors emissions from the Publisher returned by next.
forCountOrTime(int, Duration) - Static method in class BufferStrategies
Returns a BufferStrategy that creates buffer boundaries based on number of items buffered or time elapsed since the current buffer boundary started.
forCountOrTime(int, Duration, Executor) - Static method in class BufferStrategies
Returns a BufferStrategy that creates buffer boundaries based on number of items buffered or time elapsed since the current buffer boundary started.
forCountOrTime(int, Duration, Supplier<BC>) - Static method in class BufferStrategies
Returns a BufferStrategy that creates buffer boundaries based on number of items buffered or time elapsed since the current buffer boundary started.
forCountOrTime(int, Duration, Supplier<BC>, Executor) - Static method in class BufferStrategies
Returns a BufferStrategy that creates buffer boundaries based on number of items buffered or time elapsed since the current buffer boundary started.
forEach(BiPredicate<AsyncContextMap.Key<?>, Object>) - Static method in class AsyncContext
Convenience method to iterate over the key/value pairs contained in the current context.
forEach(BiPredicate<AsyncContextMap.Key<?>, Object>) - Method in interface AsyncContextMap
Iterate over the key/value pairs contained in this request context.
forEach(Consumer<? super T>) - Method in class Publisher
Subscribes to this Publisher and invokes forEach Consumer for each item emitted by this Publisher.
from(Executor) - Static method in class Executors
Creates a new Executor from the provided jdkExecutor.
from(ExecutorService) - Static method in class Executors
Creates a new Executor from the provided ExecutorService.
from(ExecutorService, boolean) - Static method in class Executors
Creates a new Executor from the provided ExecutorService.
from(ScheduledExecutorService) - Static method in class Executors
Creates a new Executor from the provided ScheduledExecutorService.
from(ScheduledExecutorService, boolean) - Static method in class Executors
Creates a new Executor from the provided ScheduledExecutorService.
from(Executor, ScheduledExecutorService) - Static method in class Executors
Creates a new Executor using executor to execute immediate tasks and scheduler to schedule delayed tasks.
from(Executor, ScheduledExecutorService, boolean) - Static method in class Executors
Creates a new Executor using executor to execute immediate tasks and scheduler to schedule delayed tasks.
from(T) - Static method in class Publisher
Creates a new Publisher that emits value to its PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
from(T, T) - Static method in class Publisher
Creates a new Publisher that emits v1 and v2 to its PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
from(T, T, T) - Static method in class Publisher
Creates a new Publisher that emits v1, v2, and v3 to its PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
from(T...) - Static method in class Publisher
Creates a new Publisher that emits all values to its PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
from(Runnable) - Static method in interface SingleTerminalSignalConsumer
Create a SingleTerminalSignalConsumer where each method executes a Runnable.run().
from(Runnable) - Static method in interface TerminalSignalConsumer
Create a TerminalSignalConsumer where each method executes a Runnable.run().
fromBlockingIterable(BlockingIterable<? extends T>, LongSupplier, TimeUnit) - Static method in class Publisher
Create a new Publisher that when subscribed will get a BlockingIterator via BlockingIterable.iterator() and emit all values to the PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
fromCallable(Callable<T>) - Static method in class Single
Creates a Single which when subscribed will invoke Callable.call() on the passed Callable and emit the value returned by that invocation from the returned Single.
fromFuture(Future<?>) - Static method in class Completable
Convert from a Future to a Completable via Future.get().
fromFuture(Future<? extends T>) - Static method in class Single
Convert from a Future to a Single via Future.get().
fromInputStream(InputStream) - Static method in class Publisher
Create a new Publisher that when subscribed will emit all data from the InputStream to the PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
fromInputStream(InputStream, int) - Static method in class Publisher
Create a new Publisher that when subscribed will emit all data from the InputStream to the PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
fromIterable(Iterable<? extends T>) - Static method in class Publisher
Create a new Publisher that when subscribed will get an Iterator via Iterable.iterator() and emit all values to the PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
fromRunnable(Runnable) - Static method in class Completable
Creates a Completable which when subscribed will invoke Runnable.run() on the passed Runnable and emit the value returned by that invocation from the returned Completable.
fromSource(PublisherSource<T>) - Static method in class SourceAdapters
Converts the provided PublisherSource into a Publisher.
fromSource(SingleSource<T>) - Static method in class SourceAdapters
Converts the provided SingleSource into a Single.
fromSource(CompletableSource) - Static method in class SourceAdapters
Converts the provided CompletableSource into a Completable.
fromStage(CompletionStage<?>) - Static method in class Completable
Convert from a CompletionStage to a Completable.
fromStage(CompletionStage<? extends T>) - Static method in class Single
Convert from a CompletionStage to a Single.
fromSupplier(Supplier<T>) - Static method in class Single
Creates a Single which when subscribed will invoke Supplier.get() on the passed Supplier and emit the value returned by that invocation from the returned Single.
Function3<T1,T2,T3,R> - Interface in io.servicetalk.concurrent.api
A functional interface that accepts 3 arguments and generates a return value.
Function4<T1,T2,T3,T4,R> - Interface in io.servicetalk.concurrent.api
A functional interface that accepts 4 arguments and generates a return value.

G

get(AsyncContextMap.Key<T>) - Static method in class AsyncContext
Convenience method to get the value associated with key from the current context.
get(AsyncContextMap.Key<T>) - Method in interface AsyncContextMap
Get the value associated with key, or null if no value is associated.
groupBy(Function<? super T, ? extends Key>, int) - Method in class Publisher
Splits items from this Publisher into dynamically generated GroupedPublishers.
groupBy(Function<? super T, ? extends Key>, int, int) - Method in class Publisher
Splits items from this Publisher into dynamically generated GroupedPublishers.
GroupedPublisher<Key,T> - Class in io.servicetalk.concurrent.api
A group as emitted by Publisher.groupBy(Function, int) or its variants.
GroupedPublisher.QueueSizeProvider - Interface in io.servicetalk.concurrent.api
Provide the maximum queue size to use for a particular GroupedPublisher key.
groupToMany(Function<? super T, ? extends Iterator<? extends Key>>, int) - Method in class Publisher
The semantics are identical to Publisher.groupBy(Function, int) except that the keySelector can map each data to multiple keys.
groupToMany(Function<? super T, ? extends Iterator<? extends Key>>, int, int) - Method in class Publisher
The semantics are identical to Publisher.groupBy(Function, int) except that the keySelector can map each data to multiple keys.

H

handleSubscribe(CompletableSource.Subscriber) - Method in class Completable
Handles a subscriber to this Completable.
handleSubscribe(PublisherSource.Subscriber<? super T>) - Method in class Publisher
Handles a subscriber to this Publisher.
handleSubscribe(SingleSource.Subscriber<? super T>) - Method in class Single
Handles a subscriber to this Single.

I

idleTimeout(long, TimeUnit) - Method in class Completable
idleTimeout(long, TimeUnit, Executor) - Method in class Completable
idleTimeout(Duration) - Method in class Completable
idleTimeout(Duration, Executor) - Method in class Completable
idleTimeout(long, TimeUnit) - Method in class Publisher
idleTimeout(Duration) - Method in class Publisher
idleTimeout(long, TimeUnit, Executor) - Method in class Publisher
idleTimeout(Duration, Executor) - Method in class Publisher
idleTimeout(long, TimeUnit) - Method in class Single
idleTimeout(long, TimeUnit, Executor) - Method in class Single
idleTimeout(Duration) - Method in class Single
Deprecated.
idleTimeout(Duration, Executor) - Method in class Single
ignoreElement() - Method in class Single
Ignores the result of this Single and forwards the termination signal to the returned Completable.
ignoreElements() - Method in class Publisher
Ignores all elements emitted by this Publisher and forwards the termination signal to the returned Completable.
immediate() - Static method in class Executors
Returns an Executor that executes all tasks submitted via Executor.execute(Runnable) immediately by calling Runnable.run() on the calling thread.
io.servicetalk.concurrent.api - package io.servicetalk.concurrent.api
ServiceTalk concurrent APIs which follow Reactive Streams semantics.
isDisabled() - Static method in class AsyncContext
Determine if AsyncContext.disable() has been previously called.
isEmpty() - Static method in class AsyncContext
Convenience method to determine if there are no key/value pairs in the current context.
isEmpty() - Method in interface AsyncContextMap
Determine if there are no key/value pairs in this AsyncContextMap.

K

key() - Method in class GroupedPublisher
Returns the key for this group.

L

liftAsync(CompletableOperator) - Method in class Completable
This method requires advanced knowledge of building operators.
liftAsync(PublisherOperator<? super T, ? extends R>) - Method in class Publisher
This method requires advanced knowledge of building operators.
liftAsync(SingleOperator<? super T, ? extends R>) - Method in class Single
This method requires advanced knowledge of building operators.
liftSync(CompletableOperator) - Method in class Completable
This method requires advanced knowledge of building operators.
liftSync(PublisherOperator<? super T, ? extends R>) - Method in class Publisher
This method requires advanced knowledge of building operators.
liftSync(SingleOperator<? super T, ? extends R>) - Method in class Single
This method requires advanced knowledge of building operators.
liftSyncToSingle(PublisherToSingleOperator<? super T, ? extends R>) - Method in class Publisher
This method requires advanced knowledge of building operators.
ListenableAsyncCloseable - Interface in io.servicetalk.concurrent.api
Provides a way to subscribe when AsyncCloseable.closeAsync() is completed.

M

map(Function<? super T, ? extends R>) - Method in class Publisher
Transforms elements emitted by this Publisher into a different type.
map(Function<? super T, ? extends R>) - Method in class Single
Maps the result of this single to a different type.
mapOnComplete() - Method in interface ScanWithMapper
Invoked when a PublisherSource.Subscriber.onComplete() signal is received, and maps the current state into an object of type R which will be emitted downstream as PublisherSource.Subscriber.onNext(Object), followed by PublisherSource.Subscriber.onComplete().
mapOnError(Throwable) - Method in interface ScanWithMapper
Invoked when a PublisherSource.Subscriber.onError(Throwable) signal is received, and maps the current state into an object of type R which will be emitted downstream as PublisherSource.Subscriber.onNext(Object), followed by PublisherSource.Subscriber.onComplete().
mapOnNext(T) - Method in interface ScanWithMapper
Invoked on each PublisherSource.Subscriber.onNext(Object) signal and maps from type T to type R.
mapTerminal() - Method in interface ScanWithMapper
Invoked when a terminal signal is received and determines if an additional PublisherSource.Subscriber.onNext(Object) signal will be emitted downstream.
merge(Completable) - Method in class Completable
Merges this Completable with the other Completable so that the resulting Completable terminates successfully when both of these complete or either terminates with an error.
merge(Completable...) - Method in class Completable
Merges this Completable with the other Completables so that the resulting Completable terminates successfully when all of these complete or any one terminates with an error.
merge(Iterable<? extends Completable>) - Method in class Completable
Merges this Completable with the other Completables so that the resulting Completable terminates successfully when all of these complete or terminates with an error when any one terminates with an error.
merge(Publisher<? extends T>) - Method in class Completable
Merges the passed Publisher with this Completable.
merge(T) - Method in interface CompositeCloseable
Merges the passed AsyncCloseable with this CompositeCloseable such that when this CompositeCloseable is closed, all of the previously registered AsyncCloseables are closed too.
mergeAll(Iterable<? extends Completable>) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAll(Completable...) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAll(Iterable<? extends Completable>, int) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAll(int, Completable...) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAll(AsyncCloseable...) - Method in interface CompositeCloseable
Merges all the passed AsyncCloseables with this CompositeCloseable such that when this CompositeCloseable is closed, all of these AsyncCloseables are closed too.
mergeAll(Iterable<? extends AsyncCloseable>) - Method in interface CompositeCloseable
Merges all the passed AsyncCloseables with this CompositeCloseable such that when this CompositeCloseable is closed, all of these AsyncCloseables are closed too.
mergeAllDelayError(Iterable<? extends Completable>) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAllDelayError(Completable...) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAllDelayError(Iterable<? extends Completable>, int) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeAllDelayError(int, Completable...) - Static method in class Completable
Returns a Completable that terminates when all the passed Completable terminate.
mergeDelayError(Publisher<? extends T>) - Method in class Completable
Merges the passed Publisher with this Completable.
mergeDelayError(Completable) - Method in class Completable
Merges this Completable with the other Completable, and delays error notification until all involved Completables terminate.
mergeDelayError(Completable...) - Method in class Completable
Merges this Completable with the other Completables, and delays error notification until all involved Completables terminate.
mergeDelayError(Iterable<? extends Completable>) - Method in class Completable
Merges this Completable with the other Completables, and delays error notification until all involved Completables terminate.
multicastToExactly(int) - Method in class Publisher
Create a Publisher that multicasts all the signals to exactly expectedSubscribers.
multicastToExactly(int, int) - Method in class Publisher
Create a Publisher that allows exactly expectedSubscribers subscribes.

N

never() - Static method in class Completable
Creates a Completable that never terminates.
never() - Static method in class Publisher
Creates a new Publisher that never emits any item to its PublisherSource.Subscriber and never call any terminal methods on it.
never() - Static method in class Single
Creates a Single that never terminates.
newBlockingIterableProcessor() - Static method in class Processors
Create a new BlockingIterable.Processor.
newBlockingIterableProcessor(int) - Static method in class Processors
Create a new BlockingIterable.Processor.
newBlockingIterableProcessor(BlockingProcessorSignalsHolder<T>) - Static method in class Processors
Create a new BlockingIterable.Processor.
newCachedThreadExecutor() - Static method in class Executors
Creates a new Executor that creates as many threads as required but reuses threads when possible.
newCachedThreadExecutor(ThreadFactory) - Static method in class Executors
Creates a new Executor that creates as many threads as required but reuses threads when possible.
newCompletableProcessor() - Static method in class Processors
Create a new CompletableSource.Processor that allows for multiple subscribes.
newCompositeCloseable() - Static method in class AsyncCloseables
Creates a new CompositeCloseable.
newFixedSizeExecutor(int) - Static method in class Executors
Creates a new Executor that has a fixed number of threads as specified by the size.
newFixedSizeExecutor(int, ThreadFactory) - Static method in class Executors
Creates a new Executor that has a fixed number of threads as specified by the size.
newKey(String) - Static method in class AsyncContextMap.Key
Create a new AsyncContextMap.Key which has a String used only in the AsyncContextMap.Key.toString() method for debugging visibility.
newKey() - Static method in class AsyncContextMap.Key
Create a new instance.
newPublisherProcessor() - Static method in class Processors
Create a new PublisherSource.Processor that allows for a single subscribe.
newPublisherProcessor(int) - Static method in class Processors
Create a new PublisherSource.Processor that allows for a single subscribe.
newPublisherProcessor(PublisherProcessorSignalsHolder<T>) - Static method in class Processors
Create a new PublisherSource.Processor that allows for a single subscribe.
newPublisherProcessorDropHeadOnOverflow(int) - Static method in class Processors
Create a new PublisherSource.Processor that allows for a single subscribe.
newPublisherProcessorDropTailOnOverflow(int) - Static method in class Processors
Create a new PublisherSource.Processor that allows for a single subscribe.
newSingleProcessor() - Static method in class Processors
Create a new SingleSource.Processor that allows for multiple subscribes.
newThread(Runnable) - Method in class DefaultThreadFactory
 

O

onClose() - Method in class DelegatingExecutor
 
onClose() - Method in interface ListenableAsyncCloseable
Returns a Completable that is notified once the ListenableAsyncCloseable was closed.
onComplete() - Method in interface TerminalSignalConsumer
Callback to indicate termination via PublisherSource.Subscriber#onComplete() or CompletableSource.Subscriber#onComplete().
onError(Throwable) - Method in interface SingleTerminalSignalConsumer
Callback to indicate termination via SingleSource.Subscriber#onError(Throwable).
onError(Throwable) - Method in interface TerminalSignalConsumer
Callback to indicate termination via PublisherSource.Subscriber#onError(Throwable) or CompletableSource.Subscriber#onError(Throwable).
onErrorComplete() - Method in class Completable
Transform errors emitted on this Completable into a CompletableSource.Subscriber.onComplete() signal (e.g.
onErrorComplete(Class<E>) - Method in class Completable
Transform errors emitted on this Completable which match type into a CompletableSource.Subscriber.onComplete() signal (e.g.
onErrorComplete(Predicate<? super Throwable>) - Method in class Completable
Transform errors emitted on this Completable which match predicate into a CompletableSource.Subscriber.onComplete() signal (e.g.
onErrorComplete() - Method in class Publisher
Transform errors emitted on this Publisher into a PublisherSource.Subscriber.onComplete() signal (e.g.
onErrorComplete(Class<E>) - Method in class Publisher
Transform errors emitted on this Publisher which match type into a PublisherSource.Subscriber.onComplete() signal (e.g.
onErrorComplete(Predicate<? super Throwable>) - Method in class Publisher
Transform errors emitted on this Publisher which match predicate into a PublisherSource.Subscriber.onComplete() signal (e.g.
onErrorMap(Function<? super Throwable, ? extends Throwable>) - Method in class Completable
Transform errors emitted on this Completable into a different error.
onErrorMap(Class<E>, Function<? super E, ? extends Throwable>) - Method in class Completable
Transform errors emitted on this Completable which match type into a different error.
onErrorMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends Throwable>) - Method in class Completable
Transform errors emitted on this Completable which match predicate into a different error.
onErrorMap(Function<? super Throwable, ? extends Throwable>) - Method in class Publisher
Transform errors emitted on this Publisher into a different error.
onErrorMap(Class<E>, Function<? super E, ? extends Throwable>) - Method in class Publisher
Transform errors emitted on this Publisher which match type into a different error.
onErrorMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends Throwable>) - Method in class Publisher
Transform errors emitted on this Publisher which match predicate into a different error.
onErrorMap(Function<? super Throwable, ? extends Throwable>) - Method in class Single
Transform errors emitted on this Single into a different error.
onErrorMap(Class<E>, Function<? super E, ? extends Throwable>) - Method in class Single
Transform errors emitted on this Single which match type into a different error.
onErrorMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends Throwable>) - Method in class Single
Transform errors emitted on this Single which match predicate into a different error.
onErrorResume(Function<? super Throwable, ? extends Completable>) - Method in class Completable
Recover from any error emitted by this Completable by using another Completable provided by the passed nextFactory.
onErrorResume(Class<E>, Function<? super E, ? extends Completable>) - Method in class Completable
Recover from errors emitted by this Completable which match type by using another Completable provided by the passed nextFactory.
onErrorResume(Predicate<? super Throwable>, Function<? super Throwable, ? extends Completable>) - Method in class Completable
Recover from errors emitted by this Completable which match predicate by using another Completable provided by the passed nextFactory.
onErrorResume(Function<? super Throwable, ? extends Publisher<? extends T>>) - Method in class Publisher
Recover from any error emitted by this Publisher by using another Publisher provided by the passed nextFactory.
onErrorResume(Class<E>, Function<? super E, ? extends Publisher<? extends T>>) - Method in class Publisher
Recover from errors emitted by this Publisher which match type by using another Publisher provided by the passed nextFactory.
onErrorResume(Predicate<? super Throwable>, Function<? super Throwable, ? extends Publisher<? extends T>>) - Method in class Publisher
Recover from errors emitted by this Publisher which match predicate by using another Publisher provided by the passed nextFactory.
onErrorResume(Function<? super Throwable, ? extends Single<? extends T>>) - Method in class Single
Recover from any error emitted by this Single by using another Single provided by the passed nextFactory.
onErrorResume(Class<E>, Function<? super E, ? extends Single<? extends T>>) - Method in class Single
Recover from errors emitted by this Single which match type by using another Single provided by the passed nextFactory.
onErrorResume(Predicate<? super Throwable>, Function<? super Throwable, ? extends Single<? extends T>>) - Method in class Single
Recover from errors emitted by this Single which match predicate by using another Single provided by the passed nextFactory.
onErrorReturn(Function<? super Throwable, ? extends T>) - Method in class Publisher
Transform errors emitted on this Publisher into PublisherSource.Subscriber.onNext(Object) then PublisherSource.Subscriber.onComplete() signals (e.g.
onErrorReturn(Class<E>, Function<? super E, ? extends T>) - Method in class Publisher
Transform errors emitted on this Publisher which match type into PublisherSource.Subscriber.onNext(Object) then PublisherSource.Subscriber.onComplete() signals (e.g.
onErrorReturn(Predicate<? super Throwable>, Function<? super Throwable, ? extends T>) - Method in class Publisher
Transform errors emitted on this Publisher which match predicate into PublisherSource.Subscriber.onNext(Object) then PublisherSource.Subscriber.onComplete() signals (e.g.
onErrorReturn(Function<? super Throwable, ? extends T>) - Method in class Single
Transform errors emitted on this Single into SingleSource.Subscriber.onSuccess(Object) signal (e.g.
onErrorReturn(Class<E>, Function<? super E, ? extends T>) - Method in class Single
Transform errors emitted on this Single which match type into SingleSource.Subscriber.onSuccess(Object) signal (e.g.
onErrorReturn(Predicate<? super Throwable>, Function<? super Throwable, ? extends T>) - Method in class Single
Transform errors emitted on this Single which match predicate into SingleSource.Subscriber.onSuccess(Object) signal (e.g.
onSuccess(T) - Method in interface SingleTerminalSignalConsumer
Callback to indicate termination via SingleSource.Subscriber#onSuccess(Object).

P

prepend(T) - Method in interface CompositeCloseable
Prepends the passed AsyncCloseable with this CompositeCloseable such that when this CompositeCloseable is closed, all of the previously registered AsyncCloseables are closed too.
prependAll(AsyncCloseable...) - Method in interface CompositeCloseable
Prepends all the passed AsyncCloseables with this CompositeCloseable such that when this CompositeCloseable is closed, all of these AsyncCloseables are closed too.
prependAll(Iterable<? extends AsyncCloseable>) - Method in interface CompositeCloseable
Prepends all the passed AsyncCloseables with this CompositeCloseable such that when this CompositeCloseable is closed, all of these AsyncCloseables are closed too.
Processors - Class in io.servicetalk.concurrent.api
Static factory methods for creating processor instances for different type of sources.
ProcessorSignalsConsumer<T> - Interface in io.servicetalk.concurrent.api
publishAndSubscribeOn(Executor) - Method in class Completable
Deprecated.
This operator has been deprecated because of upcoming behavior changes in how offloading via operators is done. Originally offloading for subscribe/subscription was applied at the "bottom" of chain (logically the last operator in the chain closest to the subscriber), and offloading for subscriber was applied at the "top" of the operator chain (logically the first operator in the chain after the async source). The current offloading doesn't respect the order in which the operators are applied, the offloading is the same regardless of where the operators are placed in the chain. However, this behavior will soon change to instead respect operator placement order and apply offloading exactly where the offloading operators are applied in the chain. This change in behavior means that it no longer makes sense to fuse the offloading of publish and subscribe as the location of the operators in the chain will now be significant. Publish and subscribe offloading, when required, will typically be placed in different locations. Use separate, appropriately placed, Completable.subscribeOn(Executor) and Completable.publishOn(Executor) operators instead.
publishAndSubscribeOn(Executor) - Method in class Publisher
Deprecated.
This operator has been deprecated because of upcoming behavior changes in how offloading via operators is done. Originally offloading for subscribe/subscription was applied at the "bottom" of chain (logically the last operator in the chain closest to the subscriber), and offloading for subscriber was applied at the "top" of the operator chain (logically the first operator in the chain after the async source). The current offloading doesn't respect the order in which the operators are applied, the offloading is the same regardless of where the operators are placed in the chain. However, this behavior will soon change to instead respect operator placement order and apply offloading exactly where the offloading operators are applied in the chain. This change in behavior means that it no longer makes sense to fuse the offloading of publish and subscribe as the location of the operators in the chain will now be significant. Publish and subscribe offloading, when required, will typically be placed in different locations. Use separate, appropriately placed, Publisher.subscribeOn(Executor) and Publisher.publishOn(Executor) operators instead.
publishAndSubscribeOn(Executor) - Method in class Single
Deprecated.
This operator has been deprecated because of upcoming behavior changes in how offloading via operators is done. Originally offloading for subscribe/subscription was applied at the "bottom" of chain (logically the last operator in the chain closest to the subscriber), and offloading for subscriber was applied at the "top" of the operator chain (logically the first operator in the chain after the async source). The current offloading doesn't respect the order in which the operators are applied, the offloading is the same regardless of where the operators are placed in the chain. However, this behavior will soon change to instead respect operator placement order and apply offloading exactly where the offloading operators are applied in the chain. This change in behavior means that it no longer makes sense to fuse the offloading of publish and subscribe as the location of the operators in the chain will now be significant. Publish and subscribe offloading, when required, will typically be placed in different locations. Use separate, appropriately placed, Single.subscribeOn(Executor) and Single.publishOn(Executor) operators instead.
publishAndSubscribeOnOverride(Executor) - Method in class Completable
Deprecated.
This method will be removed in a future release. Consider switching to Completable.publishAndSubscribeOn(Executor) and/or using Executor.execute(Runnable) for offloading.
publishAndSubscribeOnOverride(Executor) - Method in class Publisher
Deprecated.
This method will be removed in a future release. Consider switching to Publisher.publishAndSubscribeOn(Executor) and/or using Executor.execute(Runnable) for offloading.
publishAndSubscribeOnOverride(Executor) - Method in class Single
Deprecated.
This method will be removed in a future release. Consider switching to Single.publishAndSubscribeOn(Executor) and/or using Executor.execute(Runnable) for offloading.
Publisher<T> - Class in io.servicetalk.concurrent.api
An asynchronous computation that produces 0, 1 or more elements and may or may not terminate successfully or with an error.
Publisher() - Constructor for class Publisher
New instance.
PublisherOperator<T,R> - Interface in io.servicetalk.concurrent.api
An operator contract for a Publisher.
PublisherProcessorSignalsHolder<T> - Interface in io.servicetalk.concurrent.api
A holder of items for a PublisherSource.Processor.
PublisherToSingleOperator<T,R> - Interface in io.servicetalk.concurrent.api
An operator contract for a Publisher to Single conversion.
publishOn(Executor) - Method in class Completable
Creates a new Completable that will use the passed Executor to invoke all CompletableSource.Subscriber methods.
publishOn(Executor) - Method in class Publisher
Creates a new Publisher that will use the passed Executor to invoke all PublisherSource.Subscriber methods.
publishOn(Executor) - Method in class Single
Creates a new Single that will use the passed Executor to invoke all SingleSource.Subscriber methods.
publishOnOverride(Executor) - Method in class Completable
Deprecated.
This method will be removed in a future release. Consider switching to Completable.publishOn(Executor) and/or using Executor.execute(Runnable) for offloading.
publishOnOverride(Executor) - Method in class Publisher
Deprecated.
This method will be removed in a future release. Consider switching to Publisher.publishOn(Executor) and/or using Executor.execute(Runnable) for offloading.
publishOnOverride(Executor) - Method in class Single
Deprecated.
This method will be removed in a future release. Consider switching to Single.publishOn(Executor) and/or using Executor.execute(Runnable) for offloading.
put(AsyncContextMap.Key<T>, T) - Static method in class AsyncContext
Convenience method for adding a value to the current context.
put(AsyncContextMap.Key<T>, T) - Method in interface AsyncContextMap
Put a new key/value pair into this AsyncContextMap.
putAll(Map<AsyncContextMap.Key<?>, Object>) - Static method in class AsyncContext
Convenience method for to put all the key/value pairs into the current context.
putAll(Map<AsyncContextMap.Key<?>, Object>) - Method in interface AsyncContextMap
Put all the key/value pairs into this AsyncContextMap.

R

range(int, int) - Static method in class Publisher
Create a new Publisher that when subscribed will emit all Integers within the range of [begin, end).
range(int, int, int) - Static method in class Publisher
Create a new Publisher that when subscribed will emit all Integers within the range of [begin, end) with an increment of stride between each signal.
recoverWith(Function<Throwable, ? extends Publisher<? extends T>>) - Method in class Publisher
recoverWith(Function<? super Throwable, ? extends Single<? extends T>>) - Method in class Single
remove(AsyncContextMap.Key<?>) - Static method in class AsyncContext
Convenience method to remove a key/value pair from the current context.
remove(AsyncContextMap.Key<T>) - Method in interface AsyncContextMap
Remove a key/value pair from this AsyncContextMap, and get the previous value (if one exists).
removeAll(Iterable<AsyncContextMap.Key<?>>) - Static method in class AsyncContext
Convenience method to remove all the key/value pairs from the current context.
removeAll(Iterable<AsyncContextMap.Key<?>>) - Method in interface AsyncContextMap
Remove all key/value pairs from this AsyncContextMap associated with the keys from the Iterable.
repeat(IntPredicate) - Method in class Completable
Re-subscribes to this Completable when it completes and the passed IntPredicate returns true.
repeat(IntPredicate) - Method in class Publisher
Re-subscribes to this Publisher when it completes and the passed IntPredicate returns true.
repeat(IntPredicate) - Method in class Single
Re-subscribes to this Single when it completes and the passed IntPredicate returns true.
RepeatStrategies - Class in io.servicetalk.concurrent.api
A set of strategies to use for repeating with Publisher.repeatWhen(IntFunction), Single.repeatWhen(IntFunction) and Completable.repeatWhen(IntFunction) or in general.
RepeatStrategies.TerminateRepeatException - Exception in io.servicetalk.concurrent.api
An Exception instance used to indicate termination of repeats.
repeatWhen(IntFunction<? extends Completable>) - Method in class Completable
Re-subscribes to this Completable when it completes and the Completable returned by the supplied IntFunction completes successfully.
repeatWhen(IntFunction<? extends Completable>) - Method in class Publisher
Re-subscribes to this Publisher when it completes and the Completable returned by the supplied IntFunction completes successfully.
repeatWhen(IntFunction<? extends Completable>) - Method in class Single
Re-subscribes to this Single when it completes and the Completable returned by the supplied IntFunction completes successfully.
repeatWithConstantBackoffDeltaJitter(Duration, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds the passed constant Duration as delay between repeats.
repeatWithConstantBackoffDeltaJitter(int, Duration, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds the passed constant Duration as delay between repeats.
repeatWithConstantBackoffFullJitter(Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds the passed constant Duration as delay between repeats.
repeatWithConstantBackoffFullJitter(int, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds the passed constant Duration as delay between repeats.
repeatWithExponentialBackoffDeltaJitter(Duration, Duration, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds a delay between repeats.
repeatWithExponentialBackoffDeltaJitter(int, Duration, Duration, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds a delay between repeats.
repeatWithExponentialBackoffFullJitter(Duration, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds a delay between repeats.
repeatWithExponentialBackoffFullJitter(int, Duration, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds a delay between repeats.
retry(BiIntPredicate<Throwable>) - Method in class Completable
Re-subscribes to this Completable if an error is emitted and the passed BiIntPredicate returns true.
retry(BiIntPredicate<Throwable>) - Method in class Publisher
Re-subscribes to this Publisher if an error is emitted and the passed BiIntPredicate returns true.
retry(BiIntPredicate<Throwable>) - Method in class Single
Re-subscribes to this Single if an error is emitted and the passed BiIntPredicate returns true.
RetryStrategies - Class in io.servicetalk.concurrent.api
A set of strategies to use for retrying with Publisher.retryWhen(BiIntFunction), Single.retryWhen(BiIntFunction), and Completable.retryWhen(BiIntFunction) or in general.
retryWhen(BiIntFunction<Throwable, ? extends Completable>) - Method in class Completable
Re-subscribes to this Completable if an error is emitted and the Completable returned by the supplied BiIntFunction completes successfully.
retryWhen(BiIntFunction<Throwable, ? extends Completable>) - Method in class Publisher
Re-subscribes to this Publisher if an error is emitted and the Completable returned by the supplied BiIntFunction completes successfully.
retryWhen(BiIntFunction<Throwable, ? extends Completable>) - Method in class Single
Re-subscribes to this Single if an error is emitted and the Completable returned by the supplied BiIntFunction completes successfully.
retryWithConstantBackoffDeltaJitter(Predicate<Throwable>, Duration, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds the passed constant Duration as a delay between retries.
retryWithConstantBackoffDeltaJitter(int, Predicate<Throwable>, Duration, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds the passed constant Duration as a delay between retries.
retryWithConstantBackoffFullJitter(int, Predicate<Throwable>, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds the passed constant Duration as a delay between retries.
retryWithConstantBackoffFullJitter(Predicate<Throwable>, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds the passed constant Duration as a delay between retries.
retryWithExponentialBackoffDeltaJitter(Predicate<Throwable>, Duration, Duration, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds a delay between retries.
retryWithExponentialBackoffDeltaJitter(int, Predicate<Throwable>, Duration, Duration, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds a delay between retries.
retryWithExponentialBackoffFullJitter(Predicate<Throwable>, Duration, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds a delay between retries.
retryWithExponentialBackoffFullJitter(int, Predicate<Throwable>, Duration, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds a delay between retries.
RunnableCompletable - Class in io.servicetalk.concurrent.api

S

scanWith(Supplier<R>, BiFunction<R, ? super T, R>) - Method in class Publisher
Apply a BiFunction to each PublisherSource.Subscriber.onNext(Object) emitted by this Publisher and an accumulated state.
scanWith(Supplier<? extends ScanWithMapper<? super T, ? extends R>>) - Method in class Publisher
Apply a function to each PublisherSource.Subscriber.onNext(Object) emitted by this Publisher as well as optionally concat one PublisherSource.Subscriber.onNext(Object) signal before the terminal signal is emitted downstream.
scanWithLifetime(Supplier<? extends ScanWithLifetimeMapper<? super T, ? extends R>>) - Method in class Publisher
Apply a function to each PublisherSource.Subscriber.onNext(Object) emitted by this Publisher as well as optionally concat one PublisherSource.Subscriber.onNext(Object) signal before the terminal signal is emitted downstream.
ScanWithLifetimeMapper<T,R> - Interface in io.servicetalk.concurrent.api
Provides the ability to transform (aka map) signals emitted via the Publisher.scanWithLifetime(Supplier) operator, as well as the ability to cleanup state via ScanWithLifetimeMapper.afterFinally().
ScanWithMapper<T,R> - Interface in io.servicetalk.concurrent.api
Provides the ability to transform (aka map) signals emitted via the Publisher.scanWith(Supplier) operator.
schedule(Runnable, long, TimeUnit) - Method in class DelegatingExecutor
 
schedule(Runnable, Duration) - Method in class DelegatingExecutor
 
Single<T> - Class in io.servicetalk.concurrent.api
An asynchronous computation that either completes with success giving the result or completes with an error.
Single() - Constructor for class Single
New instance.
SingleOperator<T,R> - Interface in io.servicetalk.concurrent.api
An operator contract for a Single.
SingleTerminalSignalConsumer<T> - Interface in io.servicetalk.concurrent.api
A contract that provides discrete callbacks for various ways in which a SingleSource.Subscriber can terminate.
size() - Method in interface AsyncContextMap
Determine the number of AsyncContextMap.Key-value mappings.
SourceAdapters - Class in io.servicetalk.concurrent.api
A set of adapter methods to convert an asynchronous source in this module to a corresponding source in io.servicetalk.concurrent module.
submit(Runnable) - Method in class DelegatingExecutor
 
submit(Callable<? extends T>) - Method in class DelegatingExecutor
 
submit(Runnable) - Method in interface Executor
Create a new Completable that executes the passed Runnable on each subscribe.
submit(Callable<? extends T>) - Method in interface Executor
Creates a new Single that creates and executes the passed Callable when subscribed to.
submitCallable(Supplier<? extends Callable<? extends T>>) - Method in class DelegatingExecutor
 
submitCallable(Supplier<? extends Callable<? extends T>>) - Method in interface Executor
Create a new Single that obtains a Callable from callableSupplier and executes on each subscribe.
submitRunnable(Supplier<Runnable>) - Method in class DelegatingExecutor
 
submitRunnable(Supplier<Runnable>) - Method in interface Executor
Creates a new Completable that creates and executes a Runnable when subscribed to.
subscribe() - Method in class Completable
Subscribe to this Completable and log any CompletableSource.Subscriber.onError(Throwable).
subscribe(Runnable) - Method in class Completable
Subscribe to this Completable and log any CompletableSource.Subscriber.onError(Throwable).
subscribe(Consumer<? super T>) - Method in class Single
Subscribe to this Single, emits the result to the passed Consumer and log any SingleSource.Subscriber.onError(Throwable).
subscribeInternal(CompletableSource.Subscriber) - Method in class Completable
A internal subscribe method similar to CompletableSource.subscribe(Subscriber) which can be used by different implementations to subscribe.
subscribeInternal(PublisherSource.Subscriber<? super T>) - Method in class Publisher
A internal subscribe method similar to PublisherSource.subscribe(Subscriber) which can be used by different implementations to subscribe.
subscribeInternal(SingleSource.Subscriber<? super T>) - Method in class Single
A internal subscribe method similar to SingleSource.subscribe(Subscriber) which can be used by different implementations to subscribe.
subscribeOn(Executor) - Method in class Completable
Creates a new Completable that will use the passed Executor to invoke the following methods: All Cancellable methods. The Completable.handleSubscribe(CompletableSource.Subscriber) method. This method does not override preceding Executors, if any, specified for this Completable.
subscribeOn(Executor) - Method in class Publisher
Creates a new Publisher that will use the passed Executor to invoke the following methods: All PublisherSource.Subscription methods. The Publisher.handleSubscribe(PublisherSource.Subscriber) method. This method does not override preceding Executors, if any, specified for this Publisher.
subscribeOn(Executor) - Method in class Single
Creates a new Single that will use the passed Executor to invoke the following methods: All Cancellable methods. The Single.handleSubscribe(SingleSource.Subscriber) method. This method does not override preceding Executors, if any, specified for this Single.
subscribeOnOverride(Executor) - Method in class Completable
Deprecated.
This method will be removed in a future release. Consider switching to Completable.subscribeOn(Executor) and/or using Executor.execute(Runnable) for offloading.
subscribeOnOverride(Executor) - Method in class Publisher
Deprecated.
This method will be removed in a future release. Consider switching to Publisher.subscribeOn(Executor) and/or using Executor.execute(Runnable) for offloading.
subscribeOnOverride(Executor) - Method in class Single
Deprecated.
This method will be removed in a future release. Consider switching to Single.subscribeOn(Executor) and/or using Executor.execute(Runnable) for offloading.
subscribeShareContext() - Method in class Completable
Signifies that when the returned Completable is subscribed to, the AsyncContext will be shared instead of making a copy.
subscribeShareContext() - Method in class Publisher
Signifies that when the returned Publisher is subscribed to, the AsyncContext will be shared instead of making a copy.
subscribeShareContext() - Method in class Single
Signifies that when the returned Single is subscribed to, the AsyncContext will be shared instead of making a copy.
succeeded(T) - Static method in class Single
Creates a realized Single which always completes successfully with the provided value.

T

takeAtMost(long) - Method in class Publisher
Takes at most numElements elements from this Publisher.
takeUntil(Completable) - Method in class Publisher
Takes elements until Completable is terminated successfully or with failure.
takeWhile(Predicate<? super T>) - Method in class Publisher
Takes elements while Predicate is true and then cancel PublisherSource.Subscription of this Publisher once it returns false.
TerminalSignalConsumer - Interface in io.servicetalk.concurrent.api
A contract that provides discrete callbacks for various ways in which a PublisherSource.Subscriber or a CompletableSource.Subscriber can terminate.
terminate() - Method in interface BlockingProcessorSignalsHolder
Terminates this holder, such that no further modifications of this holder are expected.
terminate(Throwable) - Method in interface BlockingProcessorSignalsHolder
Terminates this holder, such that no further modifications of this holder are expected.
terminate() - Method in interface PublisherProcessorSignalsHolder
Terminates this holder, such that no further modifications of this holder are allowed.
terminate(Throwable) - Method in interface PublisherProcessorSignalsHolder
Terminates this holder, such that no further modifications of this holder are allowed.
test(int, T) - Method in interface BiIntPredicate
Evaluates this predicate on the given arguments.
timeout(long, TimeUnit) - Method in class Completable
Creates a new Completable that will mimic the signals of this Completable but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeout(long, TimeUnit, Executor) - Method in class Completable
Creates a new Completable that will mimic the signals of this Completable but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeout(Duration) - Method in class Completable
Creates a new Completable that will mimic the signals of this Completable but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeout(Duration, Executor) - Method in class Completable
Creates a new Completable that will mimic the signals of this Completable but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeout(long, TimeUnit) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between adjacent PublisherSource.Subscriber.onNext(Object) calls.
timeout(Duration) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between adjacent PublisherSource.Subscriber.onNext(Object) calls.
timeout(long, TimeUnit, Executor) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between adjacent PublisherSource.Subscriber.onNext(Object) calls.
timeout(Duration, Executor) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between adjacent PublisherSource.Subscriber.onNext(Object) calls.
timeout(long, TimeUnit) - Method in class Single
Creates a new Single that will mimic the signals of this Single but will terminate with a with a TimeoutException if time duration elapses between subscribe and termination.
timeout(long, TimeUnit, Executor) - Method in class Single
Creates a new Single that will mimic the signals of this Single but will terminate with a with a TimeoutException if time duration elapses between subscribe and termination.
timeout(Duration) - Method in class Single
Creates a new Single that will mimic the signals of this Single but will terminate with a with a TimeoutException if time duration elapses between subscribe and termination.
timeout(Duration, Executor) - Method in class Single
Creates a new Single that will mimic the signals of this Single but will terminate with a with a TimeoutException if time duration elapses between subscribe and termination.
timeoutTerminal(Duration) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeoutTerminal(Duration, Executor) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeoutTerminal(long, TimeUnit) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timeoutTerminal(long, TimeUnit, Executor) - Method in class Publisher
Creates a new Publisher that will mimic the signals of this Publisher but will terminate with a TimeoutException if time duration elapses between subscribe and termination.
timer(long, TimeUnit) - Method in class DelegatingExecutor
 
timer(Duration) - Method in class DelegatingExecutor
 
timer(long, TimeUnit) - Method in interface Executor
Creates a new Completable that will complete after the time duration expires.
timer(Duration) - Method in interface Executor
Creates a new Completable that will complete after the time duration expires.
toAsyncCloseable(AsyncCloseables.CloseableResource) - Static method in class AsyncCloseables
Creates a new ListenableAsyncCloseable which uses the passed Supplier to get the implementation of close.
toCompletable() - Method in class Single
Ignores the result of this Single and forwards the termination signal to the returned Completable.
toCompletionStage() - Method in class Completable
Converts this Completable to a CompletionStage.
toCompletionStage() - Method in class Publisher
Convert this Publisher into a CompletionStage with a Collection containing the elements of this Publisher upon successful termination.
toCompletionStage(Supplier<? extends R>, BiFunction<? super R, ? super T, R>) - Method in class Publisher
Convert this Publisher into a CompletionStage of type R which represents all elements of this Publisher upon successful termination.
toCompletionStage() - Method in class Single
Convert this Single to a CompletionStage.
toFuture() - Method in class Completable
Converts this Completable to a Future.
toFuture() - Method in class Publisher
Convert this Publisher into a Future with a Collection containing the elements of this Publisher upon successful termination.
toFuture(Supplier<? extends R>, BiFunction<? super R, ? super T, R>) - Method in class Publisher
Convert this Publisher into a Future of type R which represents all elements of this Publisher upon successful termination.
toFuture() - Method in class Single
Convert this Single to a Future.
toInputStream(Function<? super T, byte[]>) - Method in class Publisher
Subscribes to this Publisher and converts all signals received by the PublisherSource.Subscriber to the returned InputStream following the below rules: PublisherSource.Subscription received by PublisherSource.Subscriber.onSubscribe(PublisherSource.Subscription) is used to request more data when required.
toInputStream(Function<? super T, byte[]>, int) - Method in class Publisher
Subscribes to this Publisher and converts all signals received by the PublisherSource.Subscriber to the returned InputStream following the below rules: PublisherSource.Subscription received by PublisherSource.Subscriber.onSubscribe(PublisherSource.Subscription) is used to request more data when required.
toIterable() - Method in class Publisher
Converts this Publisher to an BlockingIterable.
toIterable(int) - Method in class Publisher
Converts this Publisher to an BlockingIterable.
toListenableAsyncCloseable(AsyncCloseable) - Static method in class AsyncCloseables
Wraps the passed AsyncCloseable and creates a new ListenableAsyncCloseable.
toListenableAsyncCloseable(AsyncCloseable, Function<Completable, Completable>) - Static method in class AsyncCloseables
Wraps the passed AsyncCloseable and creates a new ListenableAsyncCloseable.
toPublisher() - Method in class Completable
Converts this Completable to a Publisher.
toPublisher() - Method in class Single
Converts this Single to a Publisher.
toSingle() - Method in class Completable
Converts this Completable to a Single.
toSource(Publisher<T>) - Static method in class SourceAdapters
Converts the provided Publisher into a PublisherSource.
toSource(Single<T>) - Static method in class SourceAdapters
Converts the provided Single into a SingleSource.
toSource(Completable) - Static method in class SourceAdapters
Converts the provided Completable into a CompletableSource.
toString() - Method in class AsyncContextMap.Key
 
toString() - Method in class GroupedPublisher
 
tryConsume(ProcessorSignalsConsumer<T>) - Method in interface PublisherProcessorSignalsHolder
Try to consume the next item stored in this holder.
tryConsumeTerminal(ProcessorSignalsConsumer<T>) - Method in interface PublisherProcessorSignalsHolder
If there are no items stored in the holder and the holder has terminated successfully or with an error then consume that successful or failed termination.

W

whenCancel(Runnable) - Method in class Completable
Invokes the onCancel Runnable argument when Cancellable.cancel() is called for Subscriptions of the returned Completable.
whenCancel(Runnable) - Method in class Publisher
Invokes the onCancel Runnable argument when Cancellable.cancel() is called for Subscriptions of the returned Publisher.
whenCancel(Runnable) - Method in class Single
Invokes the onCancel Runnable argument when Cancellable.cancel() is called for Subscriptions of the returned Single.
whenFinally(Runnable) - Method in class Completable
Invokes the whenFinally Runnable argument exactly once, when any of the following terminal methods are called: CompletableSource.Subscriber.onComplete() CompletableSource.Subscriber.onError(Throwable) Cancellable.cancel() for Subscriptions/CompletableSource.Subscribers of the returned Completable.
whenFinally(TerminalSignalConsumer) - Method in class Completable
Invokes the corresponding method on whenFinally TerminalSignalConsumer argument when any of the following terminal methods are called: CompletableSource.Subscriber.onComplete() - invokes onComplete() CompletableSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for Subscriptions/CompletableSource.Subscribers of the returned Completable.
whenFinally(Runnable) - Method in class Publisher
Invokes the whenFinally Runnable argument exactly once, when any of the following terminal methods are called: PublisherSource.Subscriber.onComplete() PublisherSource.Subscriber.onError(Throwable) Cancellable.cancel() for PublisherSource.Subscriptions/PublisherSource.Subscribers of the returned Publisher.
whenFinally(TerminalSignalConsumer) - Method in class Publisher
Invokes the corresponding method on whenFinally TerminalSignalConsumer argument when any of the following terminal methods are called: PublisherSource.Subscriber.onComplete() - invokes onComplete() PublisherSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for PublisherSource.Subscriptions/PublisherSource.Subscribers of the returned Publisher.
whenFinally(Runnable) - Method in class Single
Invokes the whenFinally Runnable argument exactly once, when any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) SingleSource.Subscriber.onError(Throwable) Cancellable.cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
whenFinally(TerminalSignalConsumer) - Method in class Single
Invokes the corresponding method on whenFinally TerminalSignalConsumer argument when any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) - invokes onComplete() SingleSource.Subscriber.onError(Throwable) - invokes onError(Throwable) Cancellable.cancel() - invokes cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
whenFinally(SingleTerminalSignalConsumer<? super T>) - Method in class Single
Invokes the corresponding method on whenFinally SingleTerminalSignalConsumer argument when any of the following terminal methods are called: SingleSource.Subscriber.onSuccess(Object) - invokes SingleTerminalSignalConsumer.onSuccess(Object) SingleSource.Subscriber.onError(Throwable) - invokes SingleTerminalSignalConsumer.onError(Throwable) Cancellable.cancel() - invokes SingleTerminalSignalConsumer.cancel() for Subscriptions/SingleSource.Subscribers of the returned Single.
whenOnComplete(Runnable) - Method in class Completable
Invokes the onComplete Runnable argument when CompletableSource.Subscriber.onComplete() is called for CompletableSource.Subscribers of the returned Completable.
whenOnComplete(Runnable) - Method in class Publisher
Invokes the onComplete Runnable argument when PublisherSource.Subscriber.onComplete() is called for PublisherSource.Subscribers of the returned Publisher.
whenOnError(Consumer<Throwable>) - Method in class Completable
Invokes the onError Consumer argument when CompletableSource.Subscriber.onError(Throwable) is called for CompletableSource.Subscribers of the returned Completable.
whenOnError(Consumer<Throwable>) - Method in class Publisher
Invokes the onError Consumer argument when PublisherSource.Subscriber.onError(Throwable) is called for PublisherSource.Subscribers of the returned Publisher.
whenOnError(Consumer<Throwable>) - Method in class Single
Invokes the onError Consumer argument when SingleSource.Subscriber.onError(Throwable) is called for SingleSource.Subscribers of the returned Single.
whenOnNext(Consumer<? super T>) - Method in class Publisher
Invokes the onNext Consumer argument when PublisherSource.Subscriber.onNext(Object) is called for PublisherSource.Subscribers of the returned Publisher.
whenOnSubscribe(Consumer<Cancellable>) - Method in class Completable
Invokes the onSubscribe Consumer argument when CompletableSource.Subscriber.onSubscribe(Cancellable) is called for CompletableSource.Subscribers of the returned Completable.
whenOnSubscribe(Consumer<? super PublisherSource.Subscription>) - Method in class Publisher
Invokes the onSubscribe Consumer argument when PublisherSource.Subscriber.onSubscribe(PublisherSource.Subscription) is called for PublisherSource.Subscribers of the returned Publisher.
whenOnSubscribe(Consumer<Cancellable>) - Method in class Single
Invokes the onSubscribe Consumer argument when SingleSource.Subscriber.onSubscribe(Cancellable) is called for SingleSource.Subscribers of the returned Single.
whenOnSuccess(Consumer<? super T>) - Method in class Single
Invokes the onSuccess Consumer argument when SingleSource.Subscriber.onSuccess(Object) is called for SingleSource.Subscribers of the returned Single.
whenRequest(LongConsumer) - Method in class Publisher
Invokes the onRequest LongConsumer argument when PublisherSource.Subscription.request(long) is called for PublisherSource.Subscriptions of the returned Publisher.
whenSubscriber(Supplier<? extends CompletableSource.Subscriber>) - Method in class Completable
Creates a new CompletableSource.Subscriber (via the subscriberSupplier argument) for each new subscribe and invokes methods on that CompletableSource.Subscriber when the corresponding methods are called for CompletableSource.Subscribers of the returned Publisher.
whenSubscriber(Supplier<? extends PublisherSource.Subscriber<? super T>>) - Method in class Publisher
Creates a new PublisherSource.Subscriber (via the subscriberSupplier argument) for each new subscribe and invokes methods on that PublisherSource.Subscriber when the corresponding methods are called for PublisherSource.Subscribers of the returned Publisher.
whenSubscriber(Supplier<? extends SingleSource.Subscriber<? super T>>) - Method in class Single
Creates a new SingleSource.Subscriber (via the subscriberSupplier argument) for each new subscribe and invokes methods on that SingleSource.Subscriber when the corresponding methods are called for SingleSource.Subscribers of the returned Single.
whenSubscription(Supplier<? extends PublisherSource.Subscription>) - Method in class Publisher
Creates a new PublisherSource.Subscription (via the subscriptionSupplier argument) for each new subscribe and invokes all the PublisherSource.Subscription methods when the corresponding methods are called for PublisherSource.Subscriptions of the returned Publisher.
wrapBiConsume(BiConsumer<T, U>) - Static method in class AsyncContext
Wrap a BiFunction to ensure it is able to track AsyncContext correctly.
wrapBiFunction(BiFunction<T, U, V>) - Static method in class AsyncContext
Wrap a BiFunction to ensure it is able to track AsyncContext correctly.
wrapCallable(Callable<V>) - Static method in class AsyncContext
Wrap a Callable to ensure it is able to track AsyncContext correctly.
wrapConsumer(Consumer<T>) - Static method in class AsyncContext
Wrap a Consumer to ensure it is able to track AsyncContext correctly.
wrapExecutor(Executor) - Static method in class AsyncContext
Wrap an Executor to ensure it is able to track AsyncContext correctly.
wrapFunction(Function<T, U>) - Static method in class AsyncContext
Wrap a Function to ensure it is able to track AsyncContext correctly.
wrapJdkExecutor(Executor) - Static method in class AsyncContext
Wrap an Executor to ensure it is able to track AsyncContext correctly.
wrapJdkExecutorService(ExecutorService) - Static method in class AsyncContext
Wrap an ExecutorService to ensure it is able to track AsyncContext correctly.
wrapJdkScheduledExecutorService(ScheduledExecutorService) - Static method in class AsyncContext
Wrap a ScheduledExecutorService to ensure it is able to track AsyncContext correctly.
wrapRunnable(Runnable) - Static method in class AsyncContext
Wrap a Runnable to ensure it is able to track AsyncContext correctly.

Z

zip(Single<? extends T1>, Single<? extends T2>, BiFunction<? super T1, ? super T2, ? extends R>) - Static method in class Single
Create a new Single that emits the results of a specified zipper BiFunction to items emitted by s1 and s2.
zip(Single<? extends T1>, Single<? extends T2>, Single<? extends T3>, Function3<? super T1, ? super T2, ? super T3, ? extends R>) - Static method in class Single
Create a new Single that emits the results of a specified zipper Function3 to items emitted by s1, s2, and s3.
zip(Single<? extends T1>, Single<? extends T2>, Single<? extends T3>, Single<? extends T4>, Function4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R>) - Static method in class Single
Create a new Single that emits the results of a specified zipper Function4 to items emitted by s1, s2, s3, and s4.
zip(Function<? super Object[], ? extends R>, Single<?>...) - Static method in class Single
Create a new Single that emits the results of a specified zipper Function to items emitted by singles.
zipDelayError(Single<? extends T1>, Single<? extends T2>, BiFunction<? super T1, ? super T2, ? extends R>) - Static method in class Single
Create a new Single that emits the results of a specified zipper BiFunction to items emitted by s1 and s2.
zipDelayError(Single<? extends T1>, Single<? extends T2>, Single<? extends T3>, Function3<? super T1, ? super T2, ? super T3, ? extends R>) - Static method in class Single
Create a new Single that emits the results of a specified zipper Function3 to items emitted by s1, s2, and s3.
zipDelayError(Single<? extends T1>, Single<? extends T2>, Single<? extends T3>, Single<? extends T4>, Function4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R>) - Static method in class Single
Create a new Single that emits the results of a specified zipper Function4 to items emitted by s1, s2, s3, and s4.
zipDelayError(Function<? super Object[], ? extends R>, Single<?>...) - Static method in class Single
Create a new Single that emits the results of a specified zipper Function to items emitted by singles.
zipWith(Single<? extends T2>, BiFunction<? super T, ? super T2, ? extends R>) - Method in class Single
Create a new Single that emits the results of a specified zipper BiFunction to items emitted by this and other.
zipWithDelayError(Single<? extends T2>, BiFunction<? super T, ? super T2, ? extends R>) - Method in class Single
Create a new Single that emits the results of a specified zipper BiFunction to items emitted by this and other.
A B C D E F G H I K L M N O P R S T W Z