Skip to content

v2.12.0 🤝📚🔨

Compare
Choose a tag to compare
@oldratlee oldratlee released this 28 Nov 10:44
· 312 commits to master since this release

Java support

Change Log

New Features

  • TtlExecutors support idempotency
    • the wrapper Executors can be cooperated with the usage of "Decorate Runnable and Callable". 🤝
    • about idempotency: if is idempotent, allowed submit the TtlRunnable/TtlCallable to the wrapper Executor; otherwise throw IllegalStateException.

Improvements

  • improve doc & javadoc 📚
  • code cleanup
  • adjust javassist shaded package:
    com.alibaba.ttl.internal.javassist -> com.alibaba.ttl.threadpool.agent.internal.javassist
  • improve ForkJoinPoolDemo and ParallelStreamDemo/add TtlForkJoinTaskDemo
  • 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>