Class ResourceMarshaler.RealResourceMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.ResourceMarshaler.RealResourceMarshaler
-
- Enclosing class:
- ResourceMarshaler
private static final class ResourceMarshaler.RealResourceMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private KeyValueMarshaler[]
attributes
-
Constructor Summary
Constructors Modifier Constructor Description private
RealResourceMarshaler(KeyValueMarshaler[] attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(KeyValueMarshaler[] attributeMarshalers)
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 Detail
-
attributes
private final KeyValueMarshaler[] attributes
-
-
Constructor Detail
-
RealResourceMarshaler
private RealResourceMarshaler(KeyValueMarshaler[] attributes)
-
-
Method Detail
-
writeTo
protected void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(KeyValueMarshaler[] attributeMarshalers)
-
-