public class IRequestScopedTransferableThreadLocal<T>
extends ScopedTransferableThreadLocal
请求域的可传递的 ThreadLocal 1 在对应的请求域中有效 2 对应的请求处理器, 承诺在请求处理前后调用其 beginScope()/endScope(), 通过作为请求域的子作用域来自动处理
ScopedTransferableThreadLocal.CompanionIScope.DefaultImplsCompanion| 构造器和说明 |
|---|
IRequestScopedTransferableThreadLocal(IRequestScope reqScope,
kotlin.jvm.functions.Function0<? extends T> supplier)
请求域的可传递的 ThreadLocal
1 在对应的请求域中有效
2 对应的请求处理器, 承诺在请求处理前后调用其 beginScope()/endScope(), 通过作为请求域的子作用域来自动处理
|
doBeginScope, doEndScope, get, getSupplier, setaddChildScope, addChildScope, beginScope, doBeginScope, doEndScope, endScope, getChildScopes, newScopeaddChildScope, addChildScope, beginScope, endScope, newScopepublic IRequestScopedTransferableThreadLocal(IRequestScope reqScope, kotlin.jvm.functions.Function0<? extends T> supplier)
请求域的可传递的 ThreadLocal 1 在对应的请求域中有效 2 对应的请求处理器, 承诺在请求处理前后调用其 beginScope()/endScope(), 通过作为请求域的子作用域来自动处理