@RequestScoped @Retry public class BaseRetryOnClassAndMethodService extends Object implements RetryService
Constructor and Description |
---|
BaseRetryOnClassAndMethodService() |
Modifier and Type | Method and Description |
---|---|
protected Connection |
delegate() |
int |
getNumberOfServiceCalls() |
Connection |
service() |
@Retry(maxRetries=4) public Connection service() throws IOException
service
in interface RetryService
IOException
protected Connection delegate() throws IOException
IOException
public int getNumberOfServiceCalls()
getNumberOfServiceCalls
in interface RetryService
Copyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.