Package io.servicetalk.concurrent.internal
@ElementsAreNonnullByDefault
package io.servicetalk.concurrent.internal
Internal utilities used by concurrent packages.
-
ClassDescriptionAn abstract implementation of
CloseableIterablethat 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.Subscriptionmethods 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.ACancellablewhich serves as a placeholder until the "real"Cancellableis available.APublisherSource.Subscriptionwhich serves as a placeholder until the "real"PublisherSource.Subscriptionis 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.Subscriptions 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.Utility instances for Subscribers which don't do anything on events.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.Subscriptionthat only emits a single value.ACancellablethat can hold at most oneCancellablethat will be cancelled when this is cancelled.A set of utilities for commonPublisherSource.Subscribertasks.Holder ofThrowable.ACancellablethat willinterrupt a thread.Utility for creating staticThrowables.