Skip to content

v1.1.9

Choose a tag to compare

@oldratlee oldratlee released this 02 Aug 18:36

shifu

πŸ’— Happy with cffu! 🦝 and be a "shifu"~ πŸ˜†

☘️ Features

add method LLCF.relayAsync0, support the fourth way "relay async" to arrange a new stage's computations 🏎️

In CompletionStage / CompletableFuture, execution of a new stage's computations may be arranged in any of three ways:

  • default execution,
  • default asynchronous execution (using methods with suffix async that employ the stage's default asynchronous execution facility),
  • or custom asynchronous execution (via a supplied Executor).

- reference from the javadoc of CompletionStage

πŸ§ͺ Tests

add demo of "Execution order of sync actions added to a future" πŸ§ͺ

πŸ“š Documentation

  • improve javadoc of peek* methods

πŸ”Œ API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu/1.1.9/

πŸͺ Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu</artifactId>
    <version>1.1.9</version>
</dependency>

cffu executor wrapper SPI implementation for πŸ“Œ TransmittableThreadLocal(TTL):

<dependency>
  <groupId>io.foldright</groupId>
  <artifactId>cffu-ttl-executor-wrapper</artifactId>
  <version>1.1.9</version>
  <scope>runtime</scope>
</dependency>