/guava/android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
this.stableIntervalMicros = stableIntervalMicros; double stableIntervalMicros = SECONDS.toMicros( 1L) / permitsPerSecond;
double stableIntervalMicros = SECONDS.toMicros ( 1L ) / permitsPerSecond; this.stableIntervalMicros = stableIntervalMicros;
private SmoothRateLimiter(SleepingStopwatch stopwatch) { super(stopwatch); } @Override final void doSetRate(double permitsPerSecond, long nowMicros) { resync(nowMicros); <extra_id_0> doSetRate(permitsPerSecond, stableIntervalMicros); } abstract void doSetRate(double permitsPerSecond, double stableIntervalMicros); @Override final double doGetRate() { return SECONDS.toMicros(1L) / stableIntervalMicros;