| Modifier and Type | Class and Description |
|---|---|
class |
RetryImpl.AsyncContextImpl |
class |
RetryImpl.ContextImpl |
class |
RetryImpl.RetryMetrics |
Retry.AsyncContext<T>, Retry.AsyncRetryBlock<T>, Retry.Context<T>, Retry.EventPublisher, Retry.Metrics| Constructor and Description |
|---|
RetryImpl(java.lang.String name,
RetryConfig config) |
RetryImpl(java.lang.String name,
RetryConfig config,
io.vavr.collection.Map<java.lang.String,java.lang.String> tags) |
| Modifier and Type | Method and Description |
|---|---|
Retry.AsyncContext |
asyncContext()
Creates a async retry Context.
|
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 Retry instance.
|
java.lang.String |
getName()
Returns the ID of this Retry.
|
RetryConfig |
getRetryConfig()
Returns the RetryConfig of this Retry.
|
io.vavr.collection.Map<java.lang.String,java.lang.String> |
getTags()
Returns an unmodifiable map with tags assigned to this Retry.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecorateCallable, decorateCheckedFunction, decorateCheckedRunnable, decorateCheckedSupplier, decorateCompletionStage, decorateEitherSupplier, decorateFunction, decorateRunnable, decorateSupplier, decorateTrySupplier, executeCallable, executeCheckedSupplier, executeCompletionStage, executeEitherSupplier, executeRunnable, executeSupplier, executeTrySupplier, of, of, of, of, ofDefaultspublic RetryImpl(java.lang.String name,
RetryConfig config)
public RetryImpl(java.lang.String name,
RetryConfig config,
io.vavr.collection.Map<java.lang.String,java.lang.String> tags)
public java.lang.String getName()
public Retry.Context context()
Retrypublic Retry.AsyncContext asyncContext()
RetryasyncContext in interface Retrypublic RetryConfig getRetryConfig()
RetrygetRetryConfig in interface Retrypublic io.vavr.collection.Map<java.lang.String,java.lang.String> getTags()
Retrypublic Retry.EventPublisher getEventPublisher()
RetrygetEventPublisher in interface Retrypublic Retry.Metrics getMetrics()
getMetrics in interface Retry