Package io.smallrye.metrics.legacyapi
Class SnapshotAdapter
- java.lang.Object
-
- org.eclipse.microprofile.metrics.Snapshot
-
- io.smallrye.metrics.legacyapi.SnapshotAdapter
-
public class SnapshotAdapter extends org.eclipse.microprofile.metrics.Snapshot
-
-
Constructor Summary
Constructors Constructor Description SnapshotAdapter(io.micrometer.core.instrument.distribution.HistogramSnapshot histogramSnapshot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(OutputStream output)doublegetMax()doublegetMean()org.eclipse.microprofile.metrics.Snapshot.PercentileValue[]percentileValues()longsize()
-
-
-
Method Detail
-
size
public long size()
- Specified by:
sizein classorg.eclipse.microprofile.metrics.Snapshot
-
getMax
public double getMax()
- Specified by:
getMaxin classorg.eclipse.microprofile.metrics.Snapshot
-
getMean
public double getMean()
- Specified by:
getMeanin classorg.eclipse.microprofile.metrics.Snapshot
-
percentileValues
public org.eclipse.microprofile.metrics.Snapshot.PercentileValue[] percentileValues()
- Specified by:
percentileValuesin classorg.eclipse.microprofile.metrics.Snapshot
-
dump
public void dump(OutputStream output)
- Specified by:
dumpin classorg.eclipse.microprofile.metrics.Snapshot
-
-