Package org.wildfly.clustering.context
Class ThreadContextReference<C>
java.lang.Object
org.wildfly.clustering.context.ThreadContextReference<C>
- Type Parameters:
C- the context type
- All Implemented Interfaces:
Consumer<C>,Function<C,,C> Supplier<C>,UnaryOperator<C>,ContextReference<C>
- Direct Known Subclasses:
ThreadContextClassLoaderReference
Reference that can be associated with an arbitrary thread.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wildfly.clustering.context.ContextReference
ContextReference.SimpleContextReference<C> -
Constructor Summary
ConstructorsConstructorDescriptionThreadContextReference(Supplier<Thread> reference, Function<Thread, C> accessor, BiConsumer<Thread, C> applicator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.context.ContextReference
apply, provide