@RequestScoped public class RetryService extends Object
Constructor and Description |
---|
RetryService() |
Modifier and Type | Method and Description |
---|---|
RetryStatus |
getStatus() |
void |
serviceA(Throwable exception) |
void |
serviceB(Throwable exception) |
void |
serviceC(Throwable exception) |
@Retry(retryOn={E0.class,E2.class}, abortOn=E1.class, maxRetries=1) public void serviceA(Throwable exception) throws Throwable
Throwable
@Retry(retryOn={java.lang.Exception.class,E1.class}, abortOn={E0.class,E2.class}, maxRetries=1) public void serviceB(Throwable exception) throws Throwable
Throwable
@Retry(retryOn={E1.class,E2.class}, abortOn=E0.class, maxRetries=1) public void serviceC(Throwable exception) throws Throwable
Throwable
public RetryStatus getStatus()
Copyright © 2020 Eclipse Foundation. All rights reserved.