public static interface ThrottlerTransportAdapter.ThrottleMode extends NoSerializationVerificationNeeded
Modifier and Type | Method and Description |
---|---|
scala.concurrent.duration.FiniteDuration |
timeToAvailable(long currentNanoTime,
int tokens) |
scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,java.lang.Object> |
tryConsumeTokens(long nanoTimeOfSend,
int tokens) |
scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,java.lang.Object> tryConsumeTokens(long nanoTimeOfSend, int tokens)
scala.concurrent.duration.FiniteDuration timeToAvailable(long currentNanoTime, int tokens)