Package org.jboss.msc.value
Class ThreadLocalValue<T>
- java.lang.Object
-
- org.jboss.msc.value.ThreadLocalValue<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ThreadLocal<Value<? extends T>>threadLocal
-
Constructor Summary
Constructors Constructor Description ThreadLocalValue()Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value<? extends T>getAndSetValue(Value<? extends T> newValue)Get and set the value.TgetValue()Get the actual value.voidsetValue(Value<? extends T> newValue)Set this value, replacing any current value.
-