-
Hi~
注意到`multiple-thread-context`提供了上下文线程变量的传递,并提供了针对`Runnable`及`Callable`的支持。由于上述场景中有一部分是用在日志中,当前`log4j(2)`提供了`MDC`的支持。
想问的是,能否提供一个针对其的增强支持,以`log4j2`为例已经提供了入口操作的类`ThreadContext`,若在`Executor`中传递则需要 使…
-
```
org.springframework.boot
spring-boot-starter-parent
3.2.3
pom
import
…
-
2.14.3版本是不是还不支持JDK21??
-
Tocmat=8.0.26V
transmittable=2.13.2V
Spring Async Request时,在Filter中设置ThreadLocal数据,但在Deferredresult.SetResult()后,在filter中HttpServletResponse重写OutStream方法时已经无法从ThreadLocal中获取数据,但在Tocmat=8.044版本中没…
-
include but not limited to:
- confirm to `Kotlin` language usage idioms
- ...
```kt
// use TTL in Kotlin like this?
val ttl: Ttl = ttl("value")
```
Make a dedicated package with kt deps…
-
线程池每次执行完成后默认将上下文还原至调用线程的上下文原状,可以执行完成后将线程中的上下文全部清除掉吗?
因为可能线程池执行任务的频次不高,并且每次调用线程的上下文也都不一样,这样线程池中无用的上下文在下次调用之前会一直在内存中了
-
Currently, the emit statement as we've been using it is ambiguous. `emit e` adds `e` to a _special set_ whose interface is restricted such that we can safely compute its elements independently (in the…
-
加入agent的参数为:
```
-javaagent:/java-agent/ttl-jar/transmittable-thread-local.jar=ttl.agent.logger:STDOUT
-Xbootclasspath/a:/java-agent/ttl-jar/transmittable-thread-local.jar
```
加入agent后项目启动后报错,但是不…
-
![image](https://github.com/trpc-group/trpc-java/assets/37411958/f40eb2ca-8962-43ba-9543-74f180b77dde)
hi 请问,基于trpc-spring-server-demo创建了一个新工程,运行时报了Cannot get extension of type with name 异常,请问怎么解决…
-
```java
Exception in thread "main" java.lang.ClassCircularityError: java/util/concurrent/ConcurrentHashMap$ForwardingNode
at java.base/java.util.concurrent.ConcurrentHashMap.transfer(ConcurrentHash…