You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ Migrating to the `Cffu` class involves two simple changes:
232
232
233
233
2\) If you cannot modify code that uses `CompletableFuture` (such as `CF` returned from external libraries)
234
234
235
-
Use the [`CffuFactory.toCffu(CompletionStage)` method](https://foldright.io/api-docs/cffu2/2.0.6/io/foldright/cffu2/CffuFactory.html#toCffu(java.util.concurrent.CompletionStage))
235
+
Use the [`CffuFactory.toCffu(CompletionStage)` method](https://foldright.io/api-docs/cffu2/2.0.7/io/foldright/cffu2/CffuFactory.html#toCffu(java.util.concurrent.CompletionStage))
236
236
to convert `CompletableFuture` or `CompletionStage` to `Cffu` type.
Ensuring business logic won't execute in `CF`'s single-threaded `ScheduledThreadPoolExecutor`.
730
730
731
731
For more information, see:
732
732
733
733
- Problem demonstration [`DelayDysfunctionDemo.java`](https://github.com/foldright/cffu/blob/2.x-dev/cffu-core/src/test/java/io/foldright/demo/CfDelayDysfunctionDemo.java)
- Article [Improper Use of `CompletableFuture` Timeout Functionality Causes Production Incidents](https://juejin.cn/post/7411686792342274089)
737
737
738
738
### 2.11 support for timeout-enabled `join` method
@@ -900,7 +900,7 @@ Compared to the above method groups (multiple `Action`s/multiple data), these me
900
900
> In critical business logic, when using these methods, pay attention to
901
901
> implementing good exception reporting logic, i.e. don't swallow exceptions:
902
902
> - For implementation reference, see `cffu` implementation code, such as `CompletableFutureUtils.mSupplyFailFastAsync()`
903
-
> - The `cffu` library provides support utility class [`SwallowedExceptionHandleUtils`](https://foldright.io/api-docs/cffu2/2.0.6/io/foldright/cffu2/eh/SwallowedExceptionHandleUtils.html)
903
+
> - The `cffu` library provides support utility class [`SwallowedExceptionHandleUtils`](https://foldright.io/api-docs/cffu2/2.0.7/io/foldright/cffu2/eh/SwallowedExceptionHandleUtils.html)
904
904
for implementing orchestration exception reporting
905
905
906
906
# 🔌 API Docs
@@ -920,18 +920,18 @@ Compared to the above method groups (multiple `Action`s/multiple data), these me
0 commit comments