Class ExponentialHistogramBucketsMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.metrics.ExponentialHistogramBucketsMarshaler
-
public class ExponentialHistogramBucketsMarshaler extends MarshalerWithSize
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ExponentialHistogramBucketsMarshaler(int offset, java.util.List<java.lang.Long> counts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static int
calculateSize(int offset, java.util.List<java.lang.Long> counts)
(package private) static ExponentialHistogramBucketsMarshaler
create(ExponentialHistogramBuckets buckets)
protected void
writeTo(Serializer output)
-
Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSize
-
Methods inherited from class io.opentelemetry.exporter.internal.marshal.Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
-
-
-
Method Detail
-
create
static ExponentialHistogramBucketsMarshaler create(ExponentialHistogramBuckets buckets)
-
writeTo
protected void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
static int calculateSize(int offset, java.util.List<java.lang.Long> counts)
-
-