public static class ThrottlerTransportAdapter.Blackhole$ extends java.lang.Object implements ThrottlerTransportAdapter.ThrottleMode, scala.Product, scala.Serializable
Modifier and Type | Field and Description |
---|---|
static ThrottlerTransportAdapter.Blackhole$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Blackhole$() |
Modifier and Type | Method and Description |
---|---|
ThrottlerTransportAdapter.Blackhole$ |
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.Blackhole$ 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.Blackhole$ getInstance()