@Controller
@RequestMapping(value="retries/")
public class RetryEventsEndpoint
extends java.lang.Object
| Constructor and Description |
|---|
RetryEventsEndpoint(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> eventConsumerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse |
getAllRetryEvenets() |
io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse |
getEventsFilteredByRetryNameAndEventType(java.lang.String name,
java.lang.String eventType) |
io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse |
getEventsFilteredByRetryrName(java.lang.String name) |
public RetryEventsEndpoint(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> eventConsumerRegistry)
@GetMapping(value="events",
produces="application/json")
@ResponseBody
public io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse getAllRetryEvenets()
@GetMapping(value="events/{name}",
produces="application/json")
@ResponseBody
public io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse getEventsFilteredByRetryrName(@PathVariable(value="name")
java.lang.String name)
@GetMapping(value="events/{name}/{eventType}",
produces="application/json")
@ResponseBody
public io.github.resilience4j.common.retry.monitoring.endpoint.RetryEventsEndpointResponse getEventsFilteredByRetryNameAndEventType(@PathVariable(value="name")
java.lang.String name,
@PathVariable(value="eventType")
java.lang.String eventType)