Class TokenBucket$

  • All Implemented Interfaces:
    java.io.Serializable, scala.Function4<java.lang.Object,​java.lang.Object,​java.lang.Object,​java.lang.Object,​TokenBucket>

    public class TokenBucket$
    extends scala.runtime.AbstractFunction4<java.lang.Object,​java.lang.Object,​java.lang.Object,​java.lang.Object,​TokenBucket>
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TokenBucket$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenBucket$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TokenBucket apply​(int capacity, double tokensPerSecond, long nanoTimeOfLastSend, int availableTokens)  
      java.lang.String toString()  
      scala.Option<scala.Tuple4<java.lang.Object,​java.lang.Object,​java.lang.Object,​java.lang.Object>> unapply​(TokenBucket x$0)  
      • Methods inherited from class scala.runtime.AbstractFunction4

        curried, tupled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface scala.Function4

        apply
    • Field Detail

      • MODULE$

        public static final TokenBucket$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • TokenBucket$

        public TokenBucket$()
    • Method Detail

      • toString

        public final java.lang.String toString()
        Specified by:
        toString in interface scala.Function4<java.lang.Object,​java.lang.Object,​java.lang.Object,​java.lang.Object,​TokenBucket>
        Overrides:
        toString in class scala.runtime.AbstractFunction4<java.lang.Object,​java.lang.Object,​java.lang.Object,​java.lang.Object,​TokenBucket>
      • apply

        public TokenBucket apply​(int capacity,
                                 double tokensPerSecond,
                                 long nanoTimeOfLastSend,
                                 int availableTokens)
      • unapply

        public scala.Option<scala.Tuple4<java.lang.Object,​java.lang.Object,​java.lang.Object,​java.lang.Object>> unapply​(TokenBucket x$0)