Class RetryImpl.RetryEventProcessor
java.lang.Object
io.github.resilience4j.core.EventProcessor<RetryEvent>
io.github.resilience4j.retry.internal.RetryImpl.RetryEventProcessor
- All Implemented Interfaces:
io.github.resilience4j.core.EventConsumer<RetryEvent>, io.github.resilience4j.core.EventPublisher<RetryEvent>, Retry.EventPublisher
private class RetryImpl.RetryEventProcessor
extends io.github.resilience4j.core.EventProcessor<RetryEvent>
implements io.github.resilience4j.core.EventConsumer<RetryEvent>, Retry.EventPublisher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeEvent(RetryEvent event) onError(io.github.resilience4j.core.EventConsumer<RetryOnErrorEvent> onErrorEventConsumer) onIgnoredError(io.github.resilience4j.core.EventConsumer<RetryOnIgnoredErrorEvent> onIgnoredErrorEventConsumer) onRetry(io.github.resilience4j.core.EventConsumer<RetryOnRetryEvent> onRetryEventConsumer) onSuccess(io.github.resilience4j.core.EventConsumer<RetryOnSuccessEvent> onSuccessEventConsumer) Methods inherited from class io.github.resilience4j.core.EventProcessor
hasConsumers, onEvent, processEvent, registerConsumerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.resilience4j.core.EventPublisher
onEvent
-
Constructor Details
-
RetryEventProcessor
private RetryEventProcessor()
-
-
Method Details
-
consumeEvent
- Specified by:
consumeEventin interfaceio.github.resilience4j.core.EventConsumer<RetryEvent>
-
onRetry
public Retry.EventPublisher onRetry(io.github.resilience4j.core.EventConsumer<RetryOnRetryEvent> onRetryEventConsumer) - Specified by:
onRetryin interfaceRetry.EventPublisher
-
onSuccess
public Retry.EventPublisher onSuccess(io.github.resilience4j.core.EventConsumer<RetryOnSuccessEvent> onSuccessEventConsumer) - Specified by:
onSuccessin interfaceRetry.EventPublisher
-
onError
public Retry.EventPublisher onError(io.github.resilience4j.core.EventConsumer<RetryOnErrorEvent> onErrorEventConsumer) - Specified by:
onErrorin interfaceRetry.EventPublisher
-
onIgnoredError
public Retry.EventPublisher onIgnoredError(io.github.resilience4j.core.EventConsumer<RetryOnIgnoredErrorEvent> onIgnoredErrorEventConsumer) - Specified by:
onIgnoredErrorin interfaceRetry.EventPublisher
-