java.lang.Object
io.github.resilience4j.ratpack.ratelimiter.monitoring.endpoint.RateLimiterChain
All Implemented Interfaces:
ratpack.func.Action<ratpack.handling.Chain>

public class RateLimiterChain
extends java.lang.Object
implements ratpack.func.Action<ratpack.handling.Chain>
Provides event and stream event endpoints for circuitbreaker events.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface ratpack.func.Action

    ratpack.func.Action.ConditionalSpec<I extends java.lang.Object>
  • Constructor Summary

    Constructors 
    Constructor Description
    RateLimiterChain​(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.ratelimiter.event.RateLimiterEvent> eventConsumerRegistry, io.github.resilience4j.ratelimiter.RateLimiterRegistry rateLimiterRegistry)  
  • Method Summary

    Modifier and Type Method Description
    void execute​(ratpack.handling.Chain chain)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ratpack.func.Action

    append, curry, prepend, toConsumer, uncheckedWith, with
  • Constructor Details

    • RateLimiterChain

      @Inject public RateLimiterChain​(io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.ratelimiter.event.RateLimiterEvent> eventConsumerRegistry, io.github.resilience4j.ratelimiter.RateLimiterRegistry rateLimiterRegistry)
  • Method Details

    • execute

      public void execute​(ratpack.handling.Chain chain) throws java.lang.Exception
      Specified by:
      execute in interface ratpack.func.Action<ratpack.handling.Chain>
      Throws:
      java.lang.Exception