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

      public Connection serviceA()
    • getRetryCountForConnectionService

      public int getRetryCountForConnectionService()
    • serviceB

      @Retry(abortOn=TestException.class) public void serviceB()
      serviceB is configured to retry on a RuntimeException. The WritingService throws RuntimeExceptions.
    • getRetryCountForWritingService

      public int getRetryCountForWritingService()