Class SlidingWindowReservoirFactory

  • All Implemented Interfaces:
    ReservoirFactory

    public class SlidingWindowReservoirFactory
    extends java.lang.Object
    implements ReservoirFactory
    Create SlidingWindowReservoir for Histograms.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.codahale.metrics.Reservoir create()
      Create a new SlidingWindowReservoir.
      • Methods inherited from class java.lang.Object

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

      • SlidingWindowReservoirFactory

        public SlidingWindowReservoirFactory​(com.typesafe.config.Config config)
    • Method Detail

      • create

        public com.codahale.metrics.Reservoir create()
        Create a new SlidingWindowReservoir.
        Specified by:
        create in interface ReservoirFactory
        Returns:
        the new Reservoir