public static class ThrottlerTransportAdapter.Unthrottled$ extends java.lang.Object implements ThrottlerTransportAdapter.ThrottleMode, scala.Product, scala.Serializable
Modifier and Type | Field and Description |
---|---|
static ThrottlerTransportAdapter.Unthrottled$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Unthrottled$() |
Modifier and Type | Method and Description |
---|---|
ThrottlerTransportAdapter.Unthrottled$ |
getInstance()
Java API: get the singleton instance
|
scala.concurrent.duration.FiniteDuration |
timeToAvailable(long currentNanoTime,
int tokens) |
scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,java.lang.Object> |
tryConsumeTokens(long nanoTimeOfSend,
int tokens) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final ThrottlerTransportAdapter.Unthrottled$ MODULE$
public scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,java.lang.Object> tryConsumeTokens(long nanoTimeOfSend, int tokens)
tryConsumeTokens
in interface ThrottlerTransportAdapter.ThrottleMode
public scala.concurrent.duration.FiniteDuration timeToAvailable(long currentNanoTime, int tokens)
timeToAvailable
in interface ThrottlerTransportAdapter.ThrottleMode
public ThrottlerTransportAdapter.Unthrottled$ getInstance()