Class AsyncCancellationClient
java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.asynchronous.AsyncCancellationClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Future<?>
serviceAsync
(Barrier barrier, AtomicBoolean wasInterrupted) Future<?>
serviceAsyncBulkhead
(Barrier barrier) Future<?>
serviceAsyncRetry
(Barrier barrier)
-
Constructor Details
-
AsyncCancellationClient
public AsyncCancellationClient()
-
-
Method Details
-
serviceAsync
-
serviceAsyncRetry
@Asynchronous @Retry(maxRetries=5, delay=0L, jitter=0L) public Future<?> serviceAsyncRetry(Barrier barrier) throws InterruptedException - Throws:
InterruptedException
-
getServiceAsyncRetryAttempts
public int getServiceAsyncRetryAttempts() -
serviceAsyncBulkhead
@Asynchronous @Bulkhead(value=1, waitingTaskQueue=1) public Future<?> serviceAsyncBulkhead(Barrier barrier)
-