Release 2.11.0-RC3: support ThreadLocal integration ππ€π’
Pre-release
Pre-release
Change Log
Caution
Version 2.11.0-RC3
π¦ is Deprecated! use version 2.11.5
οΌ instead.
New Feature
- support ThreadLocal integration #130 π
- use WeakHashMap instead of HashMap for capture/backup snapshot π’
- TTL do NOT have the ownership of thread local/snapshot!
- more gc friendly, avoid potential memory leak!
Improvements
- improve pom dependencies, more IDE friendly π€
- use WeakHashMap type for implementation, express the weak semantics implicitly
- use keySet instead of entrySet, simplify the code
- use type parameter
Object
instead?
forholder
, improve readability - add .editorconfig
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.0-RC3/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.0-RC3</version>
</dependency>