Class SlidingWindowReservoirFactory
- java.lang.Object
-
- com.lightbend.cinnamon.chmetrics.histogram.SlidingWindowReservoirFactory
-
- All Implemented Interfaces:
ReservoirFactory
public class SlidingWindowReservoirFactory extends java.lang.Object implements ReservoirFactory
Create SlidingWindowReservoir for Histograms.
-
-
Constructor Summary
Constructors Constructor Description SlidingWindowReservoirFactory(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 SlidingWindowReservoir.
-
-
-
Method Detail
-
create
public com.codahale.metrics.Reservoir create()
Create a new SlidingWindowReservoir.- Specified by:
create
in interfaceReservoirFactory
- Returns:
- the new Reservoir
-
-