| Modifier and Type | Class and Description |
|---|---|
class |
RetryImpl.ContextImpl |
class |
RetryImpl.RetryMetrics |
Retry.Context, Retry.EventPublisher, Retry.Metrics| Constructor and Description |
|---|
RetryImpl(java.lang.String name,
RetryConfig config) |
| Modifier and Type | Method and Description |
|---|---|
Retry.Context |
context()
Creates a retry Context.
|
Retry.EventPublisher |
getEventPublisher()
Returns an EventPublisher can be used to register event consumers.
|
Retry.Metrics |
getMetrics()
Get the Metrics of this RateLimiter.
|
java.lang.String |
getName()
Returns the ID of this Retry.
|
RetryConfig |
getRetryConfig()
Returns the RetryConfig of this Retry.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecorateCallable, decorateCheckedFunction, decorateCheckedRunnable, decorateCheckedSupplier, decorateFunction, decorateRunnable, decorateSupplier, executeCallable, executeRunnable, executeSupplier, of, of, ofDefaultspublic RetryImpl(java.lang.String name,
RetryConfig config)
public java.lang.String getName()
public Retry.Context context()
Retrypublic RetryConfig getRetryConfig()
RetrygetRetryConfig in interface Retrypublic Retry.EventPublisher getEventPublisher()
RetrygetEventPublisher in interface Retrypublic Retry.Metrics getMetrics()
getMetrics in interface Retry