All Classes
-
All Classes Interface Summary Class Summary Class Description AbstractThreadLocalContext<T> Abstract base class maintaining a shared, staticThreadLocalinstance for each concrete subclass.BiConsumerWithContext<T,U> A wrapper forBiConsumerthatreactivates a context snapshotbefore calling a delegate.BiFunctionWithContext<IN1,IN2,OUT> A wrapper forBiFunctionthatreactivates a context snapshotbefore calling a delegate.BinaryOperatorWithContext<T> A wrapper forBinaryOperatorthatreactivates a context snapshotbefore calling a delegate.BiPredicateWithContext<IN1,IN2> A wrapper forBiPredicatethatreactivates a context snapshotbefore calling a delegate.BooleanSupplierWithContext A wrapper forBooleanSupplierthatreactivates a context snapshotbefore calling a delegate.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.ConsumerWithContext<T> A wrapper forConsumerthatreactivates a context snapshotbefore calling a delegate.Context<T> A context can be anything that needs to be maintained on the 'current thread' level.ContextAwareCompletableFuture<T> This class extends the standardCompletableFuturethat was introduced in java version 8.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.ContextScopeManager Our own implementation of the opentracing ScopeManager.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.FunctionWithContext<IN,OUT> A wrapper forFunctionthatreactivates a context snapshotbefore calling a delegate.LocaleContextManager Manager for aLocalebound to the current thread.MdcManager Manager to propagate theMDCcontent from one thread to another.MetricsContextTimer AContextTimerimplementation that locates an appropriateshared metric registry.MicrometerContextTimer OpentracingContextTimer ThisContextTimeruses theOpentracing APIto report the timing statistics of the context switches that occurred.OpentracingSpanManager Deprecated. Renamed toSpanManagerPredicateWithContext<T> A wrapper forPredicatethatreactivates a context snapshotbefore calling a delegate.RunnableWithContext A wrapper forRunnablethatreactivates a context snapshotbefore calling a delegate.ServletRequestContextFilter ServletFilterthat registers the currentServletRequestwith theServletRequestContextManagerto become theactive contextwhile the filter is active.ServletRequestContextManager Manager to propagate a currentServletRequestwith.SpanManager Manager for OpenTracing Span.SpringSecurityContextManager A context manager that propagates spring-securityAuthenticationobjects into background threads using theContextAwareExecutorService.SupplierWithContext<T> A wrapper forSupplierthatreactivates a context snapshotbefore calling a delegate.UnaryOperatorWithContext<T> A wrapper forUnaryOperatorthatreactivates a context snapshotbefore calling a delegate.Wrapper<T> Base wrapper class offering anon-null delegatemethod.WrapperWithContext<T> Wrapper that also contains a fixed context snapshot.