public class ActionThrottle extends Object
Constructor and Description |
---|
ActionThrottle(String name,
long minMsBetweenActions) |
ActionThrottle(String name,
long minMsBetweenActions,
TimeSource timeSource) |
Modifier and Type | Method and Description |
---|---|
void |
markAttemptingAction() |
void |
minimumWaitBetweenActions() |
public ActionThrottle(String name, long minMsBetweenActions)
public ActionThrottle(String name, long minMsBetweenActions, TimeSource timeSource)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.