v2.12.0 🤝📚🔨
Change Log
New Features
TtlExecutors
support idempotency- the wrapper
Executors
can be cooperated with the usage of "DecorateRunnable
andCallable
". 🤝 - about idempotency: if is idempotent, allowed submit the
TtlRunnable/TtlCallable
to the wrapperExecutor
; otherwise throwIllegalStateException
.
- the wrapper
Improvements
- improve doc & javadoc 📚
- code cleanup
- adjust
javassist
shaded package:
com.alibaba.ttl.internal.javassist
->com.alibaba.ttl.threadpool.agent.internal.javassist
- improve
ForkJoinPoolDemo
andParallelStreamDemo
/addTtlForkJoinTaskDemo
- upgrade dependencies
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.12.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.12.0</version>
</dependency>