💗 Happy with
cffu
! 🦝 and be a "shifu"~ 😆
☘️ Features
- wraps the supplied Executor to
Cffu
/CffuFactory
🧵 - ensure
Cffu#with*
methods create Cffu instances with NEW underlying cfs 🆕
🛠 Refactor/Improvements
- make
CffuFactory.defaultExecutor
method returns original executor(unwrapped) 😎- preserve executor screening behavior of
CompletableFuture
(CF#screenExecutor
)
- preserve executor screening behavior of
- refactor(
CommonUtils
): extract local varlen
- no need check
TtlEnhanced
type inCffuTtlExecutorWrapperProvider
🧪 Tests
- test(
LLCF
): add test case forpeek0
methods 🧪
📚 Documentation
- improve wording of
README
and javadoc 📚 💕
🚜 Build/Chore
- refactor
bump_cffu_version.sh
- rename var
REPLACE_PATTERN
->SEARCH_PATTERN
🔠 - use
<<< foo
instead ofecho foo |
- rename var
- rename file
check-forbidden-classes.sh
->check_forbidden_classes.sh
🧹 - upgrade dependencies/plugins 📦
🔌 API Doc
cffu Java API doc
: https://foldright.io/api-docs/cffu/1.1.0/
🍪 Maven dependencies
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.1.0</version>
</dependency>
cffu executor wrapper SPI implementation
for 📌 TransmittableThreadLocal(TTL)
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-ttl-executor-wrapper</artifactId>
<version>1.1.0</version>
<scope>runtime</scope>
</dependency>