Architecture Diagrams for /oryxproject/oryx[edit]
Packages / Module oryx-common / com.cloudera.oryx.common.lang / RateLimitCheck

class RateLimitCheck

A utility that exposes a #test() method which returns true first, and thenreturn false for all subsequent invocations within the given time interval afterwards.The next call then returns true and so on. This is useful as a check for rate-limitingsome other process.
Class fields and methods
class RateLimitCheck
A utility that exposes a #test() method which returns true first, and t...
constructor RateLimitCheck(time,unit)
method test()