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
The library provides an implementation of the [CompletionStage](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletionStage.html) interface and related classes these are designed to support long-running blocking tasks (typically, I/O bound). This functionality augments the sole Java 8 built-in implementation, [CompletableFuture](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html), that is primarily supports computational tasks. Also, the library helps with numerous asynchronous programing challenges like handling timeouts, retry/poll functionality, orchestrating results of multiple concurrent computations and similar.
4
4
@@ -12,7 +12,7 @@ New name:
12
12
<dependency>
13
13
<groupId>net.tascalate</groupId>
14
14
<artifactId>net.tascalate.concurrent</artifactId>
15
-
<version>0.8.1</version>
15
+
<version>0.8.2</version>
16
16
</dependency>
17
17
```
18
18
Old Name
@@ -40,7 +40,7 @@ To use a library you have to add a single Maven dependency
40
40
<dependency>
41
41
<groupId>net.tascalate</groupId>
42
42
<artifactId>net.tascalate.concurrent</artifactId>
43
-
<version>0.8.1</version>
43
+
<version>0.8.2</version>
44
44
</dependency>
45
45
```
46
46
# What is inside?
@@ -532,7 +532,11 @@ But before discussing it, it's necessary to explain a difference in each pair of
532
532
2. Methods with `RetryRunnable` and `RetryCallable` are contextual and may dynamically alter their behavior for the given iteration depending on the context passed. The `RetryContext` provides provides all necessary iteration-specific information.
533
533
534
534
535
-
## 8. Extensions to ExecutorService API
535
+
## 9. Contextual Promises
536
+
537
+
## 10. Decorators for CompletionStage / CompletableFuture / Promise
538
+
539
+
## 11. Extensions to ExecutorService API
536
540
537
541
It’s not mandatory to use any specific subclasses of `Executor` with `CompletableTask` – you may use any implementation. However, someone may find beneficial to have a `Promise`-aware `ExecutorService` API. Below is a list of related classes/interfaces:
0 commit comments