Skip to content

Commit 2767e15

Browse files
committed
Preparing release 0.9.8
1 parent 40e79b3 commit 2767e15

File tree

3 files changed

+33
-11
lines changed

3 files changed

+33
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Maven Central](https://img.shields.io/maven-central/v/net.tascalate/net.tascalate.concurrent.svg)](https://search.maven.org/artifact/net.tascalate/net.tascalate.concurrent/0.9.7/jar) [![GitHub release](https://img.shields.io/github/release/vsilaev/tascalate-concurrent.svg)](https://github.com/vsilaev/tascalate-concurrent/releases/tag/0.9.7) [![license](https://img.shields.io/github/license/vsilaev/tascalate-concurrent.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)
1+
[![Maven Central](https://img.shields.io/maven-central/v/net.tascalate/net.tascalate.concurrent.svg)](https://search.maven.org/artifact/net.tascalate/net.tascalate.concurrent/0.9.8/jar) [![GitHub release](https://img.shields.io/github/release/vsilaev/tascalate-concurrent.svg)](https://github.com/vsilaev/tascalate-concurrent/releases/tag/0.9.8) [![license](https://img.shields.io/github/license/vsilaev/tascalate-concurrent.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)
22
# tascalate-concurrent
33
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.
44

@@ -12,7 +12,7 @@ New name:
1212
<dependency>
1313
<groupId>net.tascalate</groupId>
1414
<artifactId>net.tascalate.concurrent</artifactId>
15-
<version>0.9.7</version> <!-- Any version above 0.8.0, the latest one is recommended -->
15+
<version>0.9.8</version> <!-- Any version above 0.8.0, the latest one is recommended -->
1616
</dependency>
1717
```
1818
Old Name
@@ -38,7 +38,7 @@ To use a library you have to add a single Maven dependency
3838
<dependency>
3939
<groupId>net.tascalate</groupId>
4040
<artifactId>net.tascalate.concurrent</artifactId>
41-
<version>0.9.7</version>
41+
<version>0.9.8</version>
4242
</dependency>
4343
```
4444
# What is inside?

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>net.tascalate</groupId>
88
<artifactId>net.tascalate.concurrent</artifactId>
9-
<version>0.9.7</version>
9+
<version>0.9.8</version>
1010
<packaging>jar</packaging>
1111

1212
<name>Tascalate Concurrent</name>
@@ -69,7 +69,7 @@
6969
<plugin>
7070
<groupId>org.apache.maven.plugins</groupId>
7171
<artifactId>maven-source-plugin</artifactId>
72-
<version>3.2.0</version>
72+
<version>3.3.0</version>
7373
<executions>
7474
<execution>
7575
<id>attach-sources</id>
@@ -82,7 +82,7 @@
8282
<plugin>
8383
<groupId>org.apache.maven.plugins</groupId>
8484
<artifactId>maven-javadoc-plugin</artifactId>
85-
<version>3.2.0</version>
85+
<version>3.6.2</version>
8686
<configuration>
8787
<jdkToolchain>
8888
<version>1.8</version>
@@ -102,7 +102,7 @@
102102
<plugin>
103103
<groupId>org.apache.maven.plugins</groupId>
104104
<artifactId>maven-gpg-plugin</artifactId>
105-
<version>1.6</version>
105+
<version>3.1.0</version>
106106
<executions>
107107
<execution>
108108
<id>sign-artifacts</id>
@@ -152,7 +152,7 @@
152152
<plugin>
153153
<groupId>org.sonatype.plugins</groupId>
154154
<artifactId>nexus-staging-maven-plugin</artifactId>
155-
<version>1.6.8</version>
155+
<version>1.6.13</version>
156156
<extensions>true</extensions>
157157
<configuration>
158158
<serverId>ossrh</serverId>
@@ -163,7 +163,7 @@
163163
<plugin>
164164
<groupId>org.apache.maven.plugins</groupId>
165165
<artifactId>maven-compiler-plugin</artifactId>
166-
<version>3.8.1</version>
166+
<version>3.11.0</version>
167167
<executions>
168168
<execution>
169169
<id>default-compile</id>
@@ -192,7 +192,7 @@
192192
<plugin>
193193
<groupId>org.apache.maven.plugins</groupId>
194194
<artifactId>maven-jar-plugin</artifactId>
195-
<version>3.2.0</version>
195+
<version>3.3.0</version>
196196
</plugin>
197197
<plugin>
198198
<groupId>org.apache.maven.plugins</groupId>
@@ -211,7 +211,7 @@
211211
<plugin>
212212
<groupId>org.moditect</groupId>
213213
<artifactId>moditect-maven-plugin</artifactId>
214-
<version>1.0.0.Beta2</version>
214+
<version>1.2.1.Final</version>
215215
<executions>
216216
<execution>
217217
<id>add-module-infos</id>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package net.tascalate.concurrent;
2+
3+
import java.util.concurrent.CompletableFuture;
4+
5+
import org.junit.Before;
6+
import org.junit.Test;
7+
8+
import net.tascalate.concurrent.core.CancelMethodsCache;
9+
10+
public class LookupCancelMethod {
11+
12+
@Before
13+
public void setUp() {
14+
15+
}
16+
17+
@Test
18+
public void testRegularCancleMethod() {
19+
CompletableFuture<String> o = CompletableFuture.completedFuture("ABC");
20+
CancelMethodsCache.cancellationOf(o.getClass()).apply(o, false);
21+
}
22+
}

0 commit comments

Comments
 (0)