akka.remote.transport
Class ThrottlerTransportAdapter.Unthrottled$
java.lang.Object
akka.remote.transport.ThrottlerTransportAdapter.Unthrottled$
- All Implemented Interfaces:
- NoSerializationVerificationNeeded, ThrottlerTransportAdapter.ThrottleMode, java.io.Serializable, scala.Equals, scala.Product
- Enclosing class:
- ThrottlerTransportAdapter
public static class ThrottlerTransportAdapter.Unthrottled$
- extends java.lang.Object
- implements ThrottlerTransportAdapter.ThrottleMode, scala.Product, scala.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
MODULE$
public static final ThrottlerTransportAdapter.Unthrottled$ MODULE$
- Static reference to the singleton instance of this Scala object.
ThrottlerTransportAdapter.Unthrottled$
public ThrottlerTransportAdapter.Unthrottled$()
tryConsumeTokens
public scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,java.lang.Object> tryConsumeTokens(long nanoTimeOfSend,
int tokens)
- Specified by:
tryConsumeTokens
in interface ThrottlerTransportAdapter.ThrottleMode
timeToAvailable
public scala.concurrent.duration.FiniteDuration timeToAvailable(long currentNanoTime,
int tokens)
- Specified by:
timeToAvailable
in interface ThrottlerTransportAdapter.ThrottleMode
getInstance
public ThrottlerTransportAdapter.Unthrottled$ getInstance()
- Java API: get the singleton instance
- Returns:
- (undocumented)