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

A

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(Runnable) - Method in class Publisher
Invokes the whenFinally 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(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.
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.
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(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(Runnable) - Method in class Publisher
Invokes the whenFinally 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(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.
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.

C

calculateMaxQueueSize(int) - Method in interface GroupedPublisher.QueueSizeProvider
Calculate the maximum queue size for a particular GroupedPublisher key.
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.
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.
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
 
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.
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.
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
Turns every item emitted by this Publisher into a Completable and terminate the returned Completable when all the intermediate 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
Turns every item emitted by this Publisher into a Completable and terminate the returned Completable when all the intermediate 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
Turns every item emitted by this Publisher into a Completable and terminate the returned Completable when all the intermediate Completables have terminated.
flatMapCompletableDelayError(Function<? super T, ? extends Completable>, int) - Method in class Publisher
Turns every item emitted by this Publisher into a Completable and terminate the returned Completable when all the intermediate Completables have terminated.If any Completable returned by mapper, terminates with an error, the returned Completable will not immediately terminate.
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.
flatMapMergeSingle(Function<? super T, ? extends Single<? extends R>>) - Method in class Publisher
Turns every item emitted by this Publisher into a Single and emits the items emitted by each of those Singles.
flatMapMergeSingle(Function<? super T, ? extends Single<? extends R>>, int) - Method in class Publisher
Turns every item emitted by this Publisher into a Single and emits the items emitted by each of those Singles.
flatMapMergeSingleDelayError(Function<? super T, ? extends Single<? extends R>>) - Method in class Publisher
Turns every item emitted by this Publisher into a Single and emits the items emitted by each of those Singles.
flatMapMergeSingleDelayError(Function<? super T, ? extends Single<? extends R>>, int) - Method in class Publisher
Turns every item emitted by this Publisher into a Single and emits the items emitted by each of those Singles.
flatMapPublisher(Function<? super T, ? extends Publisher<? extends R>>) - Method in class Single
Returns a Publisher that mirrors emissions from the Publisher returned by next.
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...) - Static method in class Publisher
Creates a new Publisher that emits all values to its PublisherSource.Subscriber and then PublisherSource.Subscriber.onComplete().
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().
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.

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
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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
idleTimeout(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.
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
 
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.
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 terminates with an error when 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(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.
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.
newSingleProcessor() - Static method in class Processors
Create a new SingleSource.Processor that allows for multiple subscribes.
newThread(Runnable) - Method in class DefaultThreadFactory
 

O

onCancel() - Method in interface TerminalSignalConsumer
Callback to signal cancellation of the Subscription for this Subscriber.
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 signal completion of the Subscription for this Subscriber.
onError(Throwable) - Method in interface TerminalSignalConsumer
Callback to receive an error for this Subscriber.
onErrorResume(Function<Throwable, ? extends Completable>) - Method in class Completable
Recover from any error emitted by this Completable by using another Completable provided by the passed nextFactory.

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
Utility class for SingleSource.Processor and CompletableSource.Processor.
publishAndSubscribeOn(Executor) - Method in class Completable
Creates a new Completable that will use the passed Executor to invoke the following methods: All CompletableSource.Subscriber methods. All Cancellable methods. The Completable.handleSubscribe(CompletableSource.Subscriber) method. This method does not override preceding Executors, if any, specified for this Completable.
publishAndSubscribeOn(Executor) - Method in class Publisher
Creates a new Publisher that will use the passed Executor to invoke the following methods: All PublisherSource.Subscriber methods. All PublisherSource.Subscription methods. The Publisher.handleSubscribe(PublisherSource.Subscriber) method. This method does not override preceding Executors, if any, specified for this Publisher.
publishAndSubscribeOn(Executor) - Method in class Single
Creates a new Single that will use the passed Executor to invoke the following methods: All SingleSource.Subscriber methods. All Cancellable methods. The Single.handleSubscribe(SingleSource.Subscriber) method. This method does not override preceding Executors, if any, specified for this Single.
publishAndSubscribeOnOverride(Executor) - Method in class Completable
Creates a new Completable that will use the passed Executor to invoke the following methods: All CompletableSource.Subscriber methods. All Cancellable methods. The Completable.handleSubscribe(CompletableSource.Subscriber) method. This method overrides preceding Executors, if any, specified for this Completable.
publishAndSubscribeOnOverride(Executor) - Method in class Publisher
Creates a new Publisher that will use the passed Executor to invoke the following methods: All PublisherSource.Subscriber methods. All PublisherSource.Subscription methods. The Publisher.handleSubscribe(PublisherSource.Subscriber) method. This method overrides preceding Executors, if any, specified for this Publisher.
publishAndSubscribeOnOverride(Executor) - Method in class Single
Creates a new Single that will use the passed Executor to invoke the following methods: All SingleSource.Subscriber methods. All Cancellable methods. The Single.handleSubscribe(SingleSource.Subscriber) method. This method overrides preceding Executors, if any, specified for this Single.
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.
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
Creates a new Completable that will use the passed Executor to invoke all CompletableSource.Subscriber methods.
publishOnOverride(Executor) - Method in class Publisher
Creates a new Publisher that will use the passed Executor to invoke all PublisherSource.Subscriber methods.
publishOnOverride(Executor) - Method in class Single
Creates a new Single that will use the passed Executor to invoke all SingleSource.Subscriber methods.
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

recoverWith(Function<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.
recoverWith(Function<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.
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.
repeatWithConstantBackoff(int, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds the passed constant Duration as delay between repeats.
repeatWithExponentialBackoff(int, Duration, Executor) - Static method in class RepeatStrategies
Creates a new repeat function that adds a delay between repeats.
repeatWithExponentialBackoffAndJitter(int, 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.
retryWithConstantBackoff(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.
retryWithConstantBackoffAndJitter(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.
retryWithExponentialBackoff(int, Predicate<Throwable>, Duration, Executor) - Static method in class RetryStrategies
Creates a new retry function that adds a delay between retries.
retryWithExponentialBackoffAndJitter(int, Predicate<Throwable>, 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

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.
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
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 overrides preceding Executors, if any, specified for this Completable.
subscribeOnOverride(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 overrides preceding Executors, if any, specified for this Publisher.
subscribeOnOverride(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 overrides preceding Executors, if any, specified for this Single.
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
Callback interface on which only a single method is ever called matching the terminal outcome of the associated Source and Subscription.
test(int, T) - Method in interface BiIntPredicate
Evaluates this predicate on the given arguments.
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
 

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(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(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.
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.
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.
A B C D E F G H I K L M N O P R S T W