|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvoldemort.utils.EventThrottler
voldemort.utils.DynamicEventThrottler
public class DynamicEventThrottler
| 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 |
|---|
public DynamicEventThrottler(long ratesPerSecond)
public DynamicEventThrottler(DynamicThrottleLimit dynLimit)
public DynamicEventThrottler(Time time,
long ratePerSecond,
long intervalMs)
| Method Detail |
|---|
public void updateRate(long l)
public long getRate()
getRate in class EventThrottler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||