Class SlidingTimeWindowReservoirFactory
- java.lang.Object
-
- com.lightbend.cinnamon.chmetrics.histogram.SlidingTimeWindowReservoirFactory
-
- All Implemented Interfaces:
ReservoirFactory
public class SlidingTimeWindowReservoirFactory extends java.lang.Object implements ReservoirFactory
Create SlidingTimeWindowReservoir for Histograms.
-
-
Constructor Summary
Constructors Constructor Description SlidingTimeWindowReservoirFactory(com.typesafe.config.Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.codahale.metrics.Reservoir
create()
Create a new SlidingTimeWindowReservoir.
-
-
-
Method Detail
-
create
public com.codahale.metrics.Reservoir create()
Create a new SlidingTimeWindowReservoir.- Specified by:
create
in interfaceReservoirFactory
- Returns:
- the new Reservoir
-
-