Class ThrottlerTransportAdapter.TokenBucket$
java.lang.Object
scala.runtime.AbstractFunction4<Object,Object,Object,Object,ThrottlerTransportAdapter.TokenBucket>
org.apache.pekko.remote.transport.ThrottlerTransportAdapter.TokenBucket$
- All Implemented Interfaces:
Serializable,scala.Function4<Object,Object, Object, Object, ThrottlerTransportAdapter.TokenBucket>
- Enclosing class:
- ThrottlerTransportAdapter
public static class ThrottlerTransportAdapter.TokenBucket$
extends scala.runtime.AbstractFunction4<Object,Object,Object,Object,ThrottlerTransportAdapter.TokenBucket>
implements Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThrottlerTransportAdapter.TokenBucket$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class scala.runtime.AbstractFunction4
curried, tupledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Function4
apply
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
TokenBucket$
public TokenBucket$()
-
-
Method Details
-
toString
- Specified by:
toStringin interfacescala.Function4<Object,Object, Object, Object, ThrottlerTransportAdapter.TokenBucket> - Overrides:
toStringin classscala.runtime.AbstractFunction4<Object,Object, Object, Object, ThrottlerTransportAdapter.TokenBucket>
-
apply
public ThrottlerTransportAdapter.TokenBucket apply(int capacity, double tokensPerSecond, long nanoTimeOfLastSend, int availableTokens) -
unapply
public scala.Option<scala.Tuple4<Object,Object, unapplyObject, Object>> (ThrottlerTransportAdapter.TokenBucket x$0)
-