Package akka.contrib.throttle
Class Throttler.Rate
- java.lang.Object
-
- akka.contrib.throttle.Throttler.Rate
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- Throttler
public static final class Throttler.Rate extends java.lang.Object implements scala.Product, scala.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Rate(int numberOfCalls, scala.concurrent.duration.FiniteDuration duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
Throttler.Rate
copy(int numberOfCalls, scala.concurrent.duration.FiniteDuration duration)
int
copy$default$1()
scala.concurrent.duration.FiniteDuration
copy$default$2()
scala.concurrent.duration.FiniteDuration
duration()
long
durationInMillis()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
numberOfCalls()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
-
-
-
Method Detail
-
numberOfCalls
public int numberOfCalls()
-
duration
public scala.concurrent.duration.FiniteDuration duration()
-
durationInMillis
public long durationInMillis()
-
copy
public Throttler.Rate copy(int numberOfCalls, scala.concurrent.duration.FiniteDuration duration)
-
copy$default$1
public int copy$default$1()
-
copy$default$2
public scala.concurrent.duration.FiniteDuration copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-