Uses of Class
com.google.common.util.concurrent.RateLimiter

Packages that use RateLimiter
Package
Description
Concurrency utilities.
  • Uses of RateLimiter in com.google.common.util.concurrent

    Modifier and Type
    Method
    Description
    RateLimiter.create(double permitsPerSecond)
    Creates a RateLimiter with the specified stable throughput, given as "permits per second" (commonly referred to as QPS, queries per second).
    RateLimiter.create(double permitsPerSecond, long warmupPeriod, TimeUnit unit)
    Creates a RateLimiter with the specified stable throughput, given as "permits per second" (commonly referred to as QPS, queries per second), and a warmup period, during which the RateLimiter smoothly ramps up its rate, until it reaches its maximum rate at the end of the period (as long as there are enough requests to saturate it).
    RateLimiter.create(double permitsPerSecond, Duration warmupPeriod)
    Creates a RateLimiter with the specified stable throughput, given as "permits per second" (commonly referred to as QPS, queries per second), and a warmup period, during which the RateLimiter smoothly ramps up its rate, until it reaches its maximum rate at the end of the period (as long as there are enough requests to saturate it).