Package io.servicetalk.concurrent.internal
@ElementsAreNonnullByDefault
package io.servicetalk.concurrent.internal
Internal utilities used by concurrent packages.
-
ClassDescriptionAn abstract implementation of
CloseableIterable
that wraps anIterable
.Deprecated.This internal class will be removed in the future releases without a replacement.Utilities forAutoCloseable
.Utility methods forBlockingIterable
.This class prevents concurrent invocation ofPublisherSource.Subscription
methods and preserves the Reactive Streams, 2.7 rule when there is a possibility of concurrency.Deprecated.This internal class will be removed in the future releases without a replacement.Utilities which can be used for concurrency.Shared utilities forContextMap
.Default implementation ofContextMap
.ACancellable
which serves as a placeholder until the "real"Cancellable
is available.APublisherSource.Subscription
which serves as a placeholder until the "real"PublisherSource.Subscription
is available.Used in scenarios where a subscribe to an asynchronous source is subscribed to, but there is already a subscriber and the source doesn't support multiple subscribers.Utility methods forPublisherSource.Subscription
s which don't deliver any data.A set of utility methods for safe math operations to prevent overflow.A set of utilities for interacting withFuture
.Deprecated.This class is no longer used by ServiceTalk and will be removed in the future releases.Deprecated.This class is no longer used by ServiceTalk and will be removed in the future releases.Exception indicating a bounded queue is full.Used in scenarios where a subscribe to an asynchronous source is attempted, but no "real" subscription is established.Used in scenarios where a subscribe to an asynchronous source is attempted, but no "real" subscription is established.APublisherSource.Subscription
that only emits a single value.ACancellable
that can hold at most oneCancellable
that will be cancelled when this is cancelled.A set of utilities for commonPublisherSource.Subscriber
tasks.Holder ofThrowable
.ACancellable
that willinterrupt a thread
.Utility for creating staticThrowable
s.