Interface Throttler


  • public interface Throttler
    Interface to implement throttling for document store. Concrete implementations for this interface are required provide implementation for throttling time based on their internal usage/statistics
    • Field Detail

      • NO_THROTTLING

        static final Throttler NO_THROTTLING
        Default implementation with no throttling
    • Method Detail

      • throttlingTime

        long throttlingTime()
        The time duration (in Millis) for which we need to throttle the system.
        Returns:
        the throttling time duration (in Millis)