v1.0.2 🦝 🦺
💗 Happy with
cffu
! 🦝 and be a "shifu"~ 😆
🛠 Refactor/Improvements
- optimize memory usage in
mostSuccessOf*
methods 📝- does not retain input cfs
- does not retain unneeded exception instances
- improve
CFU#getSuccessNow
to guarantee noCancellationException/CompletionException
are thrown 🦺 - use
LLCF#peek*
method instead ofwhenComplete/exceptionally
, more reliable codes 🦺 - add missing check(
ex != e
) foraddSuppressed
invocation inLLCF#peek*
methods, avoidIllegalArgumentException(SELF_SUPPRESSION_MESSAGE)
💣 - rename parameter names 🔠
🚜 Build/Chore
- add
check-forbidden-classes.sh
🧹
🔌 API Doc
cffu Java API doc
: https://foldright.io/api-docs/cffu/1.0.2/
🍪 Maven dependencies
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.2</version>
</dependency>
cffu executor wrapper SPI implementation
for 📌 TransmittableThreadLocal(TTL)
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-ttl-executor-wrapper</artifactId>
<version>1.0.2</version>
<scope>runtime</scope>
</dependency>