@Controller
@RequestMapping(value="bulkhead/")
public class BulkheadEventsEndpoint
extends java.lang.Object
| Constructor and Description |
|---|
BulkheadEventsEndpoint(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> eventConsumerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
io.github.resilience4j.common.bulkhead.monitoring.endpoint.BulkheadEventsEndpointResponse |
getAllBulkheadEvents() |
io.github.resilience4j.common.bulkhead.monitoring.endpoint.BulkheadEventsEndpointResponse |
getEventsFilteredByBulkheadName(java.lang.String bulkheadName) |
io.github.resilience4j.common.bulkhead.monitoring.endpoint.BulkheadEventsEndpointResponse |
getEventsFilteredByBulkheadNameAndEventType(java.lang.String bulkheadName,
java.lang.String eventType) |
public BulkheadEventsEndpoint(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> eventConsumerRegistry)
@GetMapping(value="events",
produces="application/json")
@ResponseBody
public io.github.resilience4j.common.bulkhead.monitoring.endpoint.BulkheadEventsEndpointResponse getAllBulkheadEvents()
@GetMapping(value="events/{bulkheadName}",
produces="application/json")
@ResponseBody
public io.github.resilience4j.common.bulkhead.monitoring.endpoint.BulkheadEventsEndpointResponse getEventsFilteredByBulkheadName(@PathVariable(value="bulkheadName")
java.lang.String bulkheadName)
@GetMapping(value="events/{bulkheadName}/{eventType}",
produces="application/json")
@ResponseBody
public io.github.resilience4j.common.bulkhead.monitoring.endpoint.BulkheadEventsEndpointResponse getEventsFilteredByBulkheadNameAndEventType(@PathVariable(value="bulkheadName")
java.lang.String bulkheadName,
@PathVariable(value="eventType")
java.lang.String eventType)