abstract static class RateLimiter.SleepingStopwatch
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SleepingStopwatch()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
static RateLimiter.SleepingStopwatch |
createFromSystemTimer() |
protected abstract long |
readMicros() |
protected abstract void |
sleepMicrosUninterruptibly(long micros) |
protected SleepingStopwatch()
protected abstract long readMicros()
protected abstract void sleepMicrosUninterruptibly(long micros)
public static RateLimiter.SleepingStopwatch createFromSystemTimer()