T - the value typepublic final class ThreadLocalValue<T> extends Object implements Value<T>
| Constructor and Description |
|---|
ThreadLocalValue()
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Value<? extends T> |
getAndSetValue(Value<? extends T> newValue)
Get and set the value.
|
T |
getValue()
Get the actual value.
|
void |
setValue(Value<? extends T> newValue)
Set this value, replacing any current value.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.