Interface IThrottleSpec


  • public interface IThrottleSpec
    An IThrottleSpec object describes what throttling criteria to apply per bin.
    • Method Detail

      • getMaxOpenConnections

        int getMaxOpenConnections​(java.lang.String binName)
        Given a bin name, find the max open connections to use for that bin.
        Returns:
        Integer.MAX_VALUE if no limit found.
      • getMinimumMillisecondsPerByte

        double getMinimumMillisecondsPerByte​(java.lang.String binName)
        Look up minimum milliseconds per byte for a bin.
        Returns:
        0.0 if no limit found.
      • getMinimumMillisecondsPerFetch

        long getMinimumMillisecondsPerFetch​(java.lang.String binName)
        Look up minimum milliseconds for a fetch for a bin.
        Returns:
        0 if no limit found.