Class ExemplarStatelessMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.otlp.metrics.ExemplarStatelessMarshaler
- All Implemented Interfaces:
StatelessMarshaler<ExemplarData>
See
ExemplarMarshaler.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBinarySerializedSize(ExemplarData exemplar, MarshalerContext context) Returns the number of bytes marshaling given value will write in proto binary format.voidwriteTo(Serializer output, ExemplarData exemplar, MarshalerContext context) Marshal given value using the providedSerializer.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ExemplarStatelessMarshaler
private ExemplarStatelessMarshaler()
-
-
Method Details
-
writeTo
public void writeTo(Serializer output, ExemplarData exemplar, MarshalerContext context) throws IOException Description copied from interface:StatelessMarshalerMarshal given value using the providedSerializer.- Specified by:
writeToin interfaceStatelessMarshaler<ExemplarData>- Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshalerReturns the number of bytes marshaling given value will write in proto binary format.- Specified by:
getBinarySerializedSizein interfaceStatelessMarshaler<ExemplarData>
-