public static class Throttler.RateInt
extends scala.AnyVal
Throttler.Rate
Constructor and Description |
---|
RateInt(int numberOfCalls) |
Modifier and Type | Method and Description |
---|---|
Throttler.Rate |
msgsPer(scala.concurrent.duration.FiniteDuration duration) |
Throttler.Rate |
msgsPer(int duration,
java.util.concurrent.TimeUnit timeUnit) |
Throttler.Rate |
msgsPerHour() |
Throttler.Rate |
msgsPerMinute() |
Throttler.Rate |
msgsPerSecond() |
int |
numberOfCalls() |
public int numberOfCalls()
public Throttler.Rate msgsPer(int duration, java.util.concurrent.TimeUnit timeUnit)
public Throttler.Rate msgsPer(scala.concurrent.duration.FiniteDuration duration)
public Throttler.Rate msgsPerSecond()
public Throttler.Rate msgsPerMinute()
public Throttler.Rate msgsPerHour()