public class ActionThrottle extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ActionThrottle.NanoTimeSource |
Constructor and Description |
---|
ActionThrottle(String name,
long minMsBetweenActions) |
ActionThrottle(String name,
long minMsBetweenActions,
ActionThrottle.NanoTimeSource nanoTimeSource) |
Modifier and Type | Method and Description |
---|---|
void |
markAttemptingAction() |
void |
minimumWaitBetweenActions() |
public ActionThrottle(String name, long minMsBetweenActions)
public ActionThrottle(String name, long minMsBetweenActions, ActionThrottle.NanoTimeSource nanoTimeSource)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.