All Classes
-
All Classes Interface Summary Class Summary Class Description AbstractThreadLocalContext<T> Abstract base class maintaining a shared, staticThreadLocalinstance for each concrete subclass.CallMappingExecutorService Abstract base-class that makes it a little easier to schedule tasks (RunnableorCallableobjects) using an existingExecutorServicewhile providing a custommappingfor all tasks before they get scheduled.Clearable Interface that marks an to be 'clearable'.ClearableContextManager<T> Convenience interface to mark a ClearableContextManager.Context<T> A context can be anything that needs to be maintained on the 'current thread' level.ContextAwareExecutorService Executor service that wraps another executor service, making sure background tasks operates 'within' a context snapshot taken from the submitting thread.ContextManager<T> The contract for a ContextManager Service.ContextManagers Utility class to allow concurrent systems totake snapshots of all contextsfrom knownContextManagerimplementations.ContextObserver<T> Observe context updates for a particular class of ContextManager.ContextObservers Deprecated. The (static) utility methods from this class were moved to theContextManagersclass.ContextSnapshot Interface for a 'snapshot' that can capture the (then-) 'active context' from all known registeredContextManagerimplementations.
Obtain a new snapshot by callingContextManagers.createContextSnapshot()which will include a snapshot for all supportedContexttypes through their respectivemanagers.ContextSnapshotSupplier Interface for aSupplierofContextSnapshot.ContextTimer Minimal Service Provider Interface for services that wish to get informed of context switching metrics.DelegatingExecutorService Abstract baseclass that makes it a little easier to wrap existingExecutorServiceimplementations by forwarding all methods to adelegateexecutor service.
The class also provides overridablewrappermethods for all complex input (e.g.DelegatingFuture<V> Abstract baseclass that simplifies wrapping an existingFutureby forwarding all required methods to adelegate futureobject.
The class also provides overridable wrapper methods forresultandexceptionoutcomes.Wrapper<T> Base wrapper class offering anon-null delegatemethod.WrapperWithContext<T> Wrapper that also contains a fixed context snapshot.