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
ConstructorsModifierConstructorDescriptionprivate
ExponentialHistogramBucketsMarshaler
(int offset, List<Long> counts) -
Method Summary
Modifier and TypeMethodDescription(package private) static int
calculateSize
(int offset, List<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
-
Field Details
-
offset
private final int offset -
counts
-
-
Constructor Details
-
ExponentialHistogramBucketsMarshaler
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
-