public static interface ExecutorUtil.InheritableThreadLocalProvider
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clean(AtomicReference<?> ctx)
This method is invoked in the threadpool thread after the execution
clean all the variables set in the set method
|
void |
set(AtomicReference<?> ctx)
This is invoked in the Threadpool thread. set the appropriate values in the threadlocal
of this thread.
|
void |
store(AtomicReference<?> ctx)
This is invoked in the parent thread which submitted a task.
|
void store(AtomicReference<?> ctx)
void set(AtomicReference<?> ctx)
void clean(AtomicReference<?> ctx)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.