- 引入alibaba 的ttl,重新定义了
ThreadLocal
,支持 父线程到子线程, 以及线程池 之间的threadlocal
使ttl生效 需开启java angent 或 包装 [java.lang.Runnable
]Callable
Executor
.
详见alibaba-ttl
BizLog
避免到处LoggerFactory.getLogger()//using BizLog.info(...); //instead of Logger logger = LoggerFactory.getLogger(); logger.info(...);
- MDC:MDC使用自定义的
TtlMDCAdapter
, 内部用ttl代替InheritableThreadLocal
-
Notifications
You must be signed in to change notification settings - Fork 0
dydeve/statistics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published