Class SharedState
java.lang.Object
io.nosqlbench.virtdata.library.basics.core.threadstate.SharedState
This provides common thread local instancing for sharing a thread local map across classes.
This is being described as a Thread Local State Cache.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ConcurrentHashMap<String, Object> static ThreadLocal<HashMap<String, Object>> static ThreadLocal<Deque<Object>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tget(SharedState.Scope scope, String name) static <T> Tput(SharedState.Scope scope, String name, T value)
-
Field Details
-
tl_ObjectMap
-
tl_ObjectStack
-
gl_ObjectMap
-
-
Constructor Details
-
SharedState
public SharedState()
-
-
Method Details