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 TypeMethodDescriptionbooleanJava API: get the singleton instanceinthashCode()intproductElement(int x$1) scala.collection.Iterator<Object>scala.concurrent.duration.FiniteDurationtimeToAvailable(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, waitMethods inherited from interface scala.Equals
equalsMethods 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:
tryConsumeTokensin interfaceThrottlerTransportAdapter.ThrottleMode
-
timeToAvailable
public scala.concurrent.duration.FiniteDuration timeToAvailable(long currentNanoTime, int tokens) - Specified by:
timeToAvailablein interfaceThrottlerTransportAdapter.ThrottleMode
-
getInstance
Java API: get the singleton instance -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode() -
toString
-