Class ThrottlerTransportAdapter.Unthrottled$
java.lang.Object
org.apache.pekko.remote.transport.ThrottlerTransportAdapter.Unthrottled$
- All Implemented Interfaces:
Serializable
,NoSerializationVerificationNeeded
,ThrottlerTransportAdapter.ThrottleMode
,scala.Equals
,scala.Product
- Enclosing class:
- ThrottlerTransportAdapter
public static class ThrottlerTransportAdapter.Unthrottled$
extends Object
implements ThrottlerTransportAdapter.ThrottleMode, scala.Product, Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThrottlerTransportAdapter.Unthrottled$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Java API: get the singleton instanceint
hashCode()
int
productElement
(int x$1) scala.collection.Iterator<Object>
scala.concurrent.duration.FiniteDuration
timeToAvailable
(long currentNanoTime, int tokens) toString()
scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,
Object> tryConsumeTokens
(long nanoTimeOfSend, int tokens) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
equals
Methods inherited from interface scala.Product
productElementName, productElementNames
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Unthrottled$
public Unthrottled$()
-
-
Method Details
-
tryConsumeTokens
public scala.Tuple2<ThrottlerTransportAdapter.ThrottleMode,Object> tryConsumeTokens(long nanoTimeOfSend, int tokens) - Specified by:
tryConsumeTokens
in interfaceThrottlerTransportAdapter.ThrottleMode
-
timeToAvailable
public scala.concurrent.duration.FiniteDuration timeToAvailable(long currentNanoTime, int tokens) - Specified by:
timeToAvailable
in interfaceThrottlerTransportAdapter.ThrottleMode
-
getInstance
Java API: get the singleton instance -
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
productIterator
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode() -
toString
-