Package akka.util
Class FastFrequencySketch$
- java.lang.Object
-
- akka.util.FastFrequencySketch$
-
public class FastFrequencySketch$ extends java.lang.Object
INTERNAL API
-
-
Field Summary
Fields Modifier and Type Field Description static FastFrequencySketch$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description FastFrequencySketch$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A> akka.util.FastFrequencySketch<A>
apply(int capacity, int widthMultiplier, double resetMultiplier)
Create a new FastFrequencySketch based on the cache capacity (which will be increased to the nearest power of two).<A> int
apply$default$2()
<A> double
apply$default$3()
-
-
-
Field Detail
-
MODULE$
public static final FastFrequencySketch$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <A> akka.util.FastFrequencySketch<A> apply(int capacity, int widthMultiplier, double resetMultiplier)
Create a new FastFrequencySketch based on the cache capacity (which will be increased to the nearest power of two).- Parameters:
capacity
- the cache capacity (maximum items that will be cached)widthMultiplier
- a multiplier for the width of the sketchresetMultiplier
- the multiplier on the capacity for the reset size- Returns:
- a configured FastFrequencySketch
-
apply$default$2
public <A> int apply$default$2()
-
apply$default$3
public <A> double apply$default$3()
-
-