public class SmoothBurstyRateLimiter
extends java.lang.Object
This is in package com.google.common.util.concurrent as a workaround to allow us to
create a custom instance of SmoothRateLimiter.SmoothBursty which is a private API from
Guava.
| Constructor and Description |
|---|
SmoothBurstyRateLimiter() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.util.concurrent.RateLimiter |
create(double permitsPerSecond,
double maxBurstSeconds) |