1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

应该是“TransmittableThreadLocal”的项目地址

This commit is contained in:
lannntuuu 2023-04-25 10:19:51 +08:00 committed by GitHub
parent 14dd7364e3
commit 8a07c1a3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,5 +261,5 @@ server.tomcat.max-threads=1
解决上述问题比较建议的办法是使用阿里巴巴开源的 `TransmittableThreadLocal`(`TTL`)。`TransmittableThreadLocal`类继承并加强了 JDK 内置的`InheritableThreadLocal`类,在使用线程池等会池化复用线程的执行组件情况下,提供`ThreadLocal`值的传递功能,解决异步执行时上下文传递的问题。
`InheritableThreadLocal` 项目地址: https://github.com/alibaba/transmittable-thread-local 。
`TransmittableThreadLocal` 项目地址: https://github.com/alibaba/transmittable-thread-local 。