Uses of Class
com.google.common.util.concurrent.RateLimiter.SleepingStopwatch
Packages that use RateLimiter.SleepingStopwatch
-
Uses of RateLimiter.SleepingStopwatch in com.google.common.util.concurrent
Fields in com.google.common.util.concurrent declared as RateLimiter.SleepingStopwatchModifier and TypeFieldDescriptionprivate final RateLimiter.SleepingStopwatch
RateLimiter.stopwatch
The underlying timer; used both to measure elapsed time and sleep as necessary.Methods in com.google.common.util.concurrent that return RateLimiter.SleepingStopwatchMethods in com.google.common.util.concurrent with parameters of type RateLimiter.SleepingStopwatchModifier and TypeMethodDescription(package private) static RateLimiter
RateLimiter.create
(double permitsPerSecond, long warmupPeriod, TimeUnit unit, double coldFactor, RateLimiter.SleepingStopwatch stopwatch) (package private) static RateLimiter
RateLimiter.create
(double permitsPerSecond, RateLimiter.SleepingStopwatch stopwatch) Constructors in com.google.common.util.concurrent with parameters of type RateLimiter.SleepingStopwatchModifierConstructorDescription(package private)
RateLimiter
(RateLimiter.SleepingStopwatch stopwatch) (package private)
SmoothBursty
(RateLimiter.SleepingStopwatch stopwatch, double maxBurstSeconds) private
SmoothRateLimiter
(RateLimiter.SleepingStopwatch stopwatch) (package private)
SmoothWarmingUp
(RateLimiter.SleepingStopwatch stopwatch, long warmupPeriod, TimeUnit timeUnit, double coldFactor)