Package akka.util

Class 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.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

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

      • FastFrequencySketch$

        public FastFrequencySketch$()
    • 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 sketch
        resetMultiplier - 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()