Interface IThrottleSpec
-
public interface IThrottleSpec
An IThrottleSpec object describes what throttling criteria to apply per bin.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxOpenConnections(java.lang.String binName)
Given a bin name, find the max open connections to use for that bin.double
getMinimumMillisecondsPerByte(java.lang.String binName)
Look up minimum milliseconds per byte for a bin.long
getMinimumMillisecondsPerFetch(java.lang.String binName)
Look up minimum milliseconds for a fetch for a bin.
-
-
-
Field Detail
-
_rcsid
static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
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.
-
-