Interface RateLimitPolicyFactory

All Superinterfaces:
Serializable

public interface RateLimitPolicyFactory extends Serializable
Implement this interface to create a RateLimitPolicy. Used to create a rate limiter for each shard. The factory will be called from multiple threads, so if it returns a singleton instance of RateLimitPolicy then that instance should be thread-safe, otherwise it should return separate RateLimitPolicy instances.