Class RateLimiterInterceptor

java.lang.Object
org.oxerr.vividseats.client.rescu.impl.RateLimiterInterceptor
All Implemented Interfaces:
si.mazi.rescu.Interceptor

public class RateLimiterInterceptor extends Object implements si.mazi.rescu.Interceptor
  • Constructor Details

    • RateLimiterInterceptor

      public RateLimiterInterceptor(io.github.poshjosh.ratelimiter.store.BandwidthsStore<String> store)
  • Method Details

    • aroundInvoke

      public Object aroundInvoke(InvocationHandler invocationHandler, Object proxy, Method method, Object[] args) throws Throwable
      Specified by:
      aroundInvoke in interface si.mazi.rescu.Interceptor
      Throws:
      Throwable
    • getRateLimiter

      public io.github.poshjosh.ratelimiter.RateLimiter getRateLimiter(Method method)