Class QuotaManager


  • @ThreadSafe
    public class QuotaManager
    extends java.lang.Object
    A thread-safe quota manager that schedules background refresh if necessary.

    This class abstracts away details about the TokenStore. It:

    There should be one QuotaManager per protocol.

    • Constructor Detail

      • QuotaManager

        public QuotaManager​(TokenStore tokenStore,
                            java.util.concurrent.ExecutorService backgroundExecutor)