All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.contek.invoker.commons.actor.ratelimit.IRateLimitThrottle Maven / Gradle / Ivy

There is a newer version: 3.8.0
Show newest version
package io.contek.invoker.commons.actor.ratelimit;

import io.contek.ursa.AcquireTimeoutException;
import io.contek.ursa.IPermitSession;

import javax.annotation.concurrent.ThreadSafe;
import java.util.List;

@ThreadSafe
public interface IRateLimitThrottle {

  IPermitSession acquire(String requestName, List quota)
      throws AcquireTimeoutException, InterruptedException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy