public class ThreadSafeRequestDelayControl extends java.lang.Object implements RequestDelayControl
Constructor and Description |
---|
ThreadSafeRequestDelayControl() |
Modifier and Type | Method and Description |
---|---|
void |
cancelAllDelays() |
void |
clearDelay() |
void |
delayIfRequired() |
void |
setDelay(int milliseconds) |
public void setDelay(int milliseconds)
setDelay
in interface RequestDelayControl
public void clearDelay()
clearDelay
in interface RequestDelayControl
public void delayIfRequired()
delayIfRequired
in interface RequestDelayControl
public void cancelAllDelays()