Class TimeLimiterChain
java.lang.Object
io.github.resilience4j.ratpack.timelimiter.monitoring.endpoint.TimeLimiterChain
- All Implemented Interfaces:
ratpack.func.Action<ratpack.handling.Chain>
public class TimeLimiterChain
extends java.lang.Object
implements ratpack.func.Action<ratpack.handling.Chain>
Provides event and stream event endpoints for timelimiter events.
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description TimeLimiterChain(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.timelimiter.event.TimeLimiterEvent> eventConsumerRegistry, io.github.resilience4j.timelimiter.TimeLimiterRegistry timeLimiterRegistry) -
Method Summary
Modifier and Type Method Description voidexecute(ratpack.handling.Chain chain)
-
Constructor Details
-
TimeLimiterChain
@Inject public TimeLimiterChain(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.timelimiter.event.TimeLimiterEvent> eventConsumerRegistry, io.github.resilience4j.timelimiter.TimeLimiterRegistry timeLimiterRegistry)
-
-
Method Details
-
execute
public void execute(ratpack.handling.Chain chain) throws java.lang.Exception- Specified by:
executein interfaceratpack.func.Action<ratpack.handling.Chain>- Throws:
java.lang.Exception
-