diff --git a/README.md b/README.md index 864c6a9c..24d4f142 100644 --- a/README.md +++ b/README.md @@ -165,18 +165,18 @@ <dependency> <groupId>io.foldright</groupId> <artifactId>cffu</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> </dependency> ``` - For `Gradle` projects: Gradle Kotlin DSL ```groovy - implementation("io.foldright:cffu:1.0.0-Alpha31") + implementation("io.foldright:cffu:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - implementation 'io.foldright:cffu:1.0.0-Alpha31' + implementation 'io.foldright:cffu:1.0.0-Alpha32' ``` > `cffu`也支持`Kotlin`扩展方法的使用方式,参见[`cffu-kotlin/README.md`](cffu-kotlin/README.md);使用方式的对比示例参见[`docs/usage-mode-demo.md`](docs/usage-mode-demo.md)。 @@ -513,16 +513,16 @@ public class MultipleActionsDemo { - 业务功能的正确性问题 - 系统稳定性问题,如导致线程中等待操作不能返回、耗尽线程池 -`cffu`提供了超时执行安全的新实现方法 [`cffuOrTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha31/io/foldright/cffu/CompletableFutureUtils.html#cffuOrTimeout(C,long,java.util.concurrent.TimeUnit)) -/ [`cffuCompleteOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha31/io/foldright/cffu/CompletableFutureUtils.html#cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit))。 +`cffu`提供了超时执行安全的新实现方法 [`cffuOrTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha32/io/foldright/cffu/CompletableFutureUtils.html#cffuOrTimeout(C,long,java.util.concurrent.TimeUnit)) +/ [`cffuCompleteOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha32/io/foldright/cffu/CompletableFutureUtils.html#cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit))。 更多说明参见: - 演示问题的[`DelayDysfunctionDemo.java`](https://github.com/foldright/cffu/blob/main/cffu-core/src/test/java/io/foldright/demo/CfDelayDysfunctionDemo.java) - `cffu backport`方法的`JavaDoc` - - [`orTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha31/io/foldright/cffu/CompletableFutureUtils.html#orTimeout(C,long,java.util.concurrent.TimeUnit)) - - [`completeOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha31/io/foldright/cffu/CompletableFutureUtils.html#completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit)) + - [`orTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha32/io/foldright/cffu/CompletableFutureUtils.html#orTimeout(C,long,java.util.concurrent.TimeUnit)) + - [`completeOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha32/io/foldright/cffu/CompletableFutureUtils.html#completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit)) ### 2.7 支持超时的`join`的方法 @@ -589,18 +589,18 @@ public class MultipleActionsDemo { <dependency> <groupId>io.foldright</groupId> <artifactId>cffu</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> </dependency> ``` - For `Gradle` projects: Gradle Kotlin DSL ```groovy - implementation("io.foldright:cffu:1.0.0-Alpha31") + implementation("io.foldright:cffu:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - implementation 'io.foldright:cffu:1.0.0-Alpha31' + implementation 'io.foldright:cffu:1.0.0-Alpha32' ``` - `cffu bom`: - For `Maven` projects: @@ -609,7 +609,7 @@ public class MultipleActionsDemo { <dependency> <groupId>io.foldright</groupId> <artifactId>cffu-bom</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> <type>pom</type> <scope>import</scope> </dependency> @@ -618,11 +618,11 @@ public class MultipleActionsDemo { Gradle Kotlin DSL ```groovy - implementation(platform("io.foldright:cffu-bom:1.0.0-Alpha31")) + implementation(platform("io.foldright:cffu-bom:1.0.0-Alpha32")) ``` Gradle Groovy DSL ```groovy - implementation platform('io.foldright:cffu-bom:1.0.0-Alpha31') + implementation platform('io.foldright:cffu-bom:1.0.0-Alpha32') ``` - [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local)的[`cffu executor wrapper SPI`实现](cffu-ttl-executor-wrapper): - For `Maven` projects: @@ -631,7 +631,7 @@ public class MultipleActionsDemo { <dependency> <groupId>io.foldright</groupId> <artifactId>cffu-ttl-executor-wrapper</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> <scope>runtime</scope> </dependency> ``` @@ -639,11 +639,11 @@ public class MultipleActionsDemo { Gradle Kotlin DSL ```groovy - runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha31") + runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha31' + runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha32' ``` # 📚 更多资料 diff --git a/README_EN.md b/README_EN.md index c1083542..c76af67b 100644 --- a/README_EN.md +++ b/README_EN.md @@ -605,18 +605,18 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/ <dependency> <groupId>io.foldright</groupId> <artifactId>cffu</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> </dependency> ``` - For `Gradle` projects: Gradle Kotlin DSL ```groovy - implementation("io.foldright:cffu:1.0.0-Alpha31") + implementation("io.foldright:cffu:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - implementation 'io.foldright:cffu:1.0.0-Alpha31' + implementation 'io.foldright:cffu:1.0.0-Alpha32' ``` - [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local) implementation for [`cffu executor wrapper SPI`](cffu-ttl-executor-wrapper): - For `Maven` projects: @@ -625,7 +625,7 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/ <dependency> <groupId>io.foldright</groupId> <artifactId>cffu-ttl-executor-wrapper</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> <scope>runtime</scope> </dependency> ``` @@ -633,11 +633,11 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/ Gradle Kotlin DSL ```groovy - runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha31") + runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha31' + runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha32' ``` # 📚 See also diff --git a/cffu-bom/pom.xml b/cffu-bom/pom.xml index 900c69e7..f9ad1bb0 100644 --- a/cffu-bom/pom.xml +++ b/cffu-bom/pom.xml @@ -10,7 +10,7 @@ --> <groupId>io.foldright</groupId> <artifactId>cffu-bom</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <packaging>pom</packaging> <name>${project.artifactId}</name> <description>cffu bom</description> diff --git a/cffu-core/pom.xml b/cffu-core/pom.xml index 60a09cc7..89f6e0ee 100644 --- a/cffu-core/pom.xml +++ b/cffu-core/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>io.foldright</groupId> <artifactId>cffu-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <relativePath>../pom.xml</relativePath> </parent> diff --git a/cffu-kotlin/README.md b/cffu-kotlin/README.md index 2b48bee3..9966087a 100644 --- a/cffu-kotlin/README.md +++ b/cffu-kotlin/README.md @@ -19,16 +19,16 @@ This module provides the extension methods to leverage Kotlin language. <dependency> <groupId>io.foldright</groupId> <artifactId>cffu-kotlin</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> </dependency> ``` - For `Gradle` projects: Gradle Kotlin DSL ```groovy - implementation("io.foldright:cffu-kotlin:1.0.0-Alpha31") + implementation("io.foldright:cffu-kotlin:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha31' + implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha32' ``` diff --git a/cffu-kotlin/pom.xml b/cffu-kotlin/pom.xml index 23341785..af32b512 100644 --- a/cffu-kotlin/pom.xml +++ b/cffu-kotlin/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>io.foldright</groupId> <artifactId>cffu-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <relativePath>../pom.xml</relativePath> </parent> diff --git a/cffu-listenable-future/README.md b/cffu-listenable-future/README.md index a83ca0c0..66d9a20a 100644 --- a/cffu-listenable-future/README.md +++ b/cffu-listenable-future/README.md @@ -15,16 +15,16 @@ <dependency> <groupId>io.foldright</groupId> <artifactId>cffu-listenable-future</artifactId> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> </dependency> ``` - For `Gradle` projects: Gradle Kotlin DSL ```groovy - implementation("io.foldright:cffu-listenable-future:1.0.0-Alpha31") + implementation("io.foldright:cffu-listenable-future:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - implementation 'io.foldright:cffu-listenable-future:1.0.0-Alpha31' + implementation 'io.foldright:cffu-listenable-future:1.0.0-Alpha32' ``` diff --git a/cffu-listenable-future/pom.xml b/cffu-listenable-future/pom.xml index 9652c1e2..9b41a404 100644 --- a/cffu-listenable-future/pom.xml +++ b/cffu-listenable-future/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>io.foldright</groupId> <artifactId>cffu-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <relativePath>../pom.xml</relativePath> </parent> diff --git a/cffu-ttl-executor-wrapper/README.md b/cffu-ttl-executor-wrapper/README.md index 4890cf4f..84ac04ab 100644 --- a/cffu-ttl-executor-wrapper/README.md +++ b/cffu-ttl-executor-wrapper/README.md @@ -18,18 +18,18 @@ This dependency should only be used at `Runtime`. <groupId>io.foldright</groupId> <artifactId>cffu-ttl-executor-wrapper</artifactId> <scope>runtime</scope> - <version>1.0.0-Alpha31</version> + <version>1.0.0-Alpha32</version> </dependency> ``` - For `Gradle` projects: Gradle Kotlin DSL ```groovy - runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha31") + runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha32") ``` Gradle Groovy DSL ```groovy - runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha31' + runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha32' ``` `cffu-ttl-executor-wrapper` has published to maven central, find the latest version at diff --git a/cffu-ttl-executor-wrapper/pom.xml b/cffu-ttl-executor-wrapper/pom.xml index e345edd6..af4ed88e 100644 --- a/cffu-ttl-executor-wrapper/pom.xml +++ b/cffu-ttl-executor-wrapper/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>io.foldright</groupId> <artifactId>cffu-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <relativePath>../pom.xml</relativePath> </parent> diff --git a/demos/cffu-demo/pom.xml b/demos/cffu-demo/pom.xml index 0c7c0602..d0e05a71 100644 --- a/demos/cffu-demo/pom.xml +++ b/demos/cffu-demo/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>io.foldright.cffu-demos</groupId> <artifactId>demos-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <relativePath>../pom.xml</relativePath> </parent> diff --git a/demos/cffu-kotlin-demo/pom.xml b/demos/cffu-kotlin-demo/pom.xml index 1a966385..45959701 100644 --- a/demos/cffu-kotlin-demo/pom.xml +++ b/demos/cffu-kotlin-demo/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>io.foldright.cffu-demos</groupId> <artifactId>demos-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <relativePath>../pom.xml</relativePath> </parent> diff --git a/demos/pom.xml b/demos/pom.xml index fc411f31..a894ba6b 100644 --- a/demos/pom.xml +++ b/demos/pom.xml @@ -3,7 +3,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>io.foldright.cffu-demos</groupId> <artifactId>demos-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <packaging>pom</packaging> <properties> diff --git a/pom.xml b/pom.xml index 845832d3..82f0e910 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ <groupId>io.foldright</groupId> <artifactId>cffu-parent</artifactId> - <version>1.x-SNAPSHOT</version> + <version>1.0.0-Alpha32</version> <packaging>pom</packaging> <name>${project.artifactId}</name> <description>cffu parent</description>