Interface RouterThrottler

    • Method Detail

      • mayThrottleRead

        void mayThrottleRead​(java.lang.String storeName,
                             double readCapacityUnit)
                      throws QuotaExceededException
        Returns if the request should be allowed, throws a com.linkedin.venice.exceptions.QuotaExceededException if the request is out of quota.
        Parameters:
        storeName -
        readCapacityUnit -
        Throws:
        QuotaExceededException
      • getReadCapacity

        int getReadCapacity()
      • setIsNoopThrottlerEnabled

        void setIsNoopThrottlerEnabled​(boolean isNoopThrottlerEnabled)