voldemort.utils
Class DynamicEventThrottler

java.lang.Object
  extended by voldemort.utils.EventThrottler
      extended by voldemort.utils.DynamicEventThrottler

public class DynamicEventThrottler
extends EventThrottler


Constructor Summary
DynamicEventThrottler(DynamicThrottleLimit dynLimit)
           
DynamicEventThrottler(long ratesPerSecond)
           
DynamicEventThrottler(Time time, long ratePerSecond, long intervalMs)
           
 
Method Summary
 long getRate()
           
 void updateRate(long l)
           
 
Methods inherited from class voldemort.utils.EventThrottler
maybeThrottle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicEventThrottler

public DynamicEventThrottler(long ratesPerSecond)

DynamicEventThrottler

public DynamicEventThrottler(DynamicThrottleLimit dynLimit)

DynamicEventThrottler

public DynamicEventThrottler(Time time,
                             long ratePerSecond,
                             long intervalMs)
Method Detail

updateRate

public void updateRate(long l)

getRate

public long getRate()
Overrides:
getRate in class EventThrottler


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu