Class ExponentialHistogramBucketsMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.ExponentialHistogramBucketsMarshaler
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateExponentialHistogramBucketsMarshaler(int offset, List<Long> counts) -
Method Summary
Modifier and TypeMethodDescription(package private) static intcalculateSize(int offset, List<Long> counts) (package private) static ExponentialHistogramBucketsMarshalercreate(ExponentialHistogramBuckets buckets) protected voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Field Details
-
offset
private final int offset -
counts
-
-
Constructor Details
-
ExponentialHistogramBucketsMarshaler
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
-