Class RetryClassLevelClientAbortOn
java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.retry.clientserver.RetryClassLevelClientAbortOn
@RequestScoped
@Retry(abortOn=java.io.IOException.class)
public class RetryClassLevelClientAbortOn
extends Object
A client to demonstrate the specification of abortOn conditions at the Class level.
- Author:
- Emily Jiang
-
Constructor Details
-
RetryClassLevelClientAbortOn
public RetryClassLevelClientAbortOn()
-
-
Method Details
-
serviceA
-
getRetryCountForConnectionService
public int getRetryCountForConnectionService() -
serviceB
serviceB is configured to retry on a RuntimeException. The WritingService throws RuntimeExceptions. -
getRetryCountForWritingService
public int getRetryCountForWritingService()
-