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 void
dump(OutputStream output)
double
getMax()
double
getMean()
org.eclipse.microprofile.metrics.Snapshot.PercentileValue[]
percentileValues()
long
size()
-
-
-
Method Detail
-
size
public long size()
- Specified by:
size
in classorg.eclipse.microprofile.metrics.Snapshot
-
getMax
public double getMax()
- Specified by:
getMax
in classorg.eclipse.microprofile.metrics.Snapshot
-
getMean
public double getMean()
- Specified by:
getMean
in classorg.eclipse.microprofile.metrics.Snapshot
-
percentileValues
public org.eclipse.microprofile.metrics.Snapshot.PercentileValue[] percentileValues()
- Specified by:
percentileValues
in classorg.eclipse.microprofile.metrics.Snapshot
-
dump
public void dump(OutputStream output)
- Specified by:
dump
in classorg.eclipse.microprofile.metrics.Snapshot
-
-