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 TypeMethodDescriptionint
getBinarySerializedSize
(AttributeType type, List<T> list, MarshalerContext context) Returns the number of bytes this Marshaler will write.void
writeTo
(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:StatelessMarshaler2
Marshal given key and value using the providedSerializer
.- Specified by:
writeTo
in interfaceStatelessMarshaler2<AttributeType,
List<T>> - Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshaler2
Returns the number of bytes this Marshaler will write.- Specified by:
getBinarySerializedSize
in interfaceStatelessMarshaler2<AttributeType,
List<T>>
-