Class AttributeArrayAnyValueStatelessMarshaler<T>
java.lang.Object
io.opentelemetry.exporter.internal.otlp.AttributeArrayAnyValueStatelessMarshaler<T>
- All Implemented Interfaces:
StatelessMarshaler2<AttributeType,List<T>>
final class AttributeArrayAnyValueStatelessMarshaler<T>
extends Object
implements StatelessMarshaler2<AttributeType,List<T>>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final AttributeArrayAnyValueStatelessMarshaler<Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBinarySerializedSize(AttributeType type, List<T> list, MarshalerContext context) Returns the number of bytes this Marshaler will write.voidwriteTo(Serializer output, AttributeType type, List<T> list, MarshalerContext context) Marshal given key and value using the providedSerializer.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AttributeArrayAnyValueStatelessMarshaler
private AttributeArrayAnyValueStatelessMarshaler()
-
-
Method Details
-
writeTo
public void writeTo(Serializer output, AttributeType type, List<T> list, MarshalerContext context) throws IOException Description copied from interface:StatelessMarshaler2Marshal given key and value using the providedSerializer.- Specified by:
writeToin interfaceStatelessMarshaler2<AttributeType,List<T>> - Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshaler2Returns the number of bytes this Marshaler will write.- Specified by:
getBinarySerializedSizein interfaceStatelessMarshaler2<AttributeType,List<T>>
-