public interface AtomicReferenceState<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareAndSet(T expect,
T update) |
T |
get() |
T |
getAndSet(T value) |
void |
init(StateContext<AtomicReferenceState<T>> context)
Initializes the state.
|
void |
set(T value) |
void init(StateContext<AtomicReferenceState<T>> context)
context - The state context.T get()
void set(T value)
Copyright © 2013-2015. All Rights Reserved.