@RequestScoped public class ConfigClient extends Object
| Constructor and Description |
|---|
ConfigClient() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCounterForInvokingConnectionService() |
int |
getRetryCountForWritingService() |
Connection |
serviceA() |
void |
serviceC()
Max retries is configured to 90 but the max duration is 3 seconds with a default durationUnit of milliseconds.
|
@Retry(maxRetries=5) public Connection serviceA()
@Retry(maxRetries=90, maxDuration=3000L) public void serviceC()
public int getCounterForInvokingConnectionService()
public int getRetryCountForWritingService()
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.