Package org.unleash.features.aop
Class UnleashContextThreadLocal
java.lang.Object
org.unleash.features.aop.UnleashContextThreadLocal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate static final ThreadLocal<ConcurrentHashMap<String,String>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddContextProperty(String name, String value) static io.getunleash.UnleashContextget()static voidunset()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
UNLEASH_CONTEXT_BUILDER_THREAD_LOCAL
private static final ThreadLocal<ConcurrentHashMap<String,String>> UNLEASH_CONTEXT_BUILDER_THREAD_LOCAL
-
-
Constructor Details
-
UnleashContextThreadLocal
public UnleashContextThreadLocal()
-
-
Method Details
-
addContextProperty
-
get
public static io.getunleash.UnleashContext get() -
getContextMap
-
unset
public static void unset()
-