Class RetryEventsEndpoint
- java.lang.Object
-
- io.github.resilience4j.retry.monitoring.endpoint.RetryEventsEndpoint
-
@Endpoint(id="retryevents") public class RetryEventsEndpoint extends java.lang.Objectrest api endpoint to retrieve retry events
-
-
Constructor Summary
Constructors Constructor Description RetryEventsEndpoint(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> eventConsumerRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponsegetAllRetryEvents()io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponsegetEventsFilteredByRetryName(java.lang.String name)io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponsegetEventsFilteredByRetryNameAndEventType(java.lang.String name, java.lang.String eventType)
-
-
-
Method Detail
-
getAllRetryEvents
@ReadOperation public io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse getAllRetryEvents()
- Returns:
- all retry generated events
-
getEventsFilteredByRetryName
@ReadOperation public io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse getEventsFilteredByRetryName(@Selector java.lang.String name)- Parameters:
name- backend name- Returns:
- the retry events generated for this backend
-
getEventsFilteredByRetryNameAndEventType
@ReadOperation public io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse getEventsFilteredByRetryNameAndEventType(@Selector java.lang.String name, @Selector java.lang.String eventType)- Parameters:
name- backend nameeventType- retry event type- Returns:
- the matching generated retry events
-
-