@LoadLevel(name="fast-thread-local", order=0) @DependsOnClass(value=io.netty.util.concurrent.FastThreadLocal.class) public class FastThreadLocalContextImpl extends Object implements Context
FastThreadLocal 的上下文| Constructor and Description |
|---|
FastThreadLocalContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
清空上下文
|
boolean |
containsKey(String key)
是否含有键
|
Map<String,Object> |
entries()
获取所有上下文
|
<V> V |
get(String key)
获取值
|
protected Map<String,Object> |
map() |
<V> V |
put(String key,
V value)
设置值
|
<V> V |
remove(String key)
移除值
|
public boolean containsKey(String key)
ContextcontainsKey in interface Contextkey - 键@NonNull public Map<String,Object> entries()
ContextCopyright © 2021–2022 EasyJ????. All rights reserved.