Class ExponentialHistogramBucketsStatelessMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.otlp.metrics.ExponentialHistogramBucketsStatelessMarshaler
- All Implemented Interfaces:
StatelessMarshaler<ExponentialHistogramBuckets>
final class ExponentialHistogramBucketsStatelessMarshaler
extends Object
implements StatelessMarshaler<ExponentialHistogramBuckets>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ExponentialHistogramBucketsStatelessMarshaler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBinarySerializedSize
(ExponentialHistogramBuckets buckets, MarshalerContext context) Returns the number of bytes marshaling given value will write in proto binary format.void
writeTo
(Serializer output, ExponentialHistogramBuckets buckets, MarshalerContext context) Marshal given value using the providedSerializer
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ExponentialHistogramBucketsStatelessMarshaler
private ExponentialHistogramBucketsStatelessMarshaler()
-
-
Method Details
-
writeTo
public void writeTo(Serializer output, ExponentialHistogramBuckets buckets, MarshalerContext context) throws IOException Description copied from interface:StatelessMarshaler
Marshal given value using the providedSerializer
.- Specified by:
writeTo
in interfaceStatelessMarshaler<ExponentialHistogramBuckets>
- Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshaler
Returns the number of bytes marshaling given value will write in proto binary format.- Specified by:
getBinarySerializedSize
in interfaceStatelessMarshaler<ExponentialHistogramBuckets>
-