Class InstrumentationScopeMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.InstrumentationScopeMarshaler
A Marshaler of
InstrumentationScopeInfo
.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final WeakConcurrentMap
<InstrumentationScopeInfo, InstrumentationScopeMarshaler> private final byte[]
private final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(InstrumentationScopeInfo scopeInfo) Returns a Marshaler for InstrumentationScopeInfo.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 Details
-
SCOPE_MARSHALER_CACHE
private static final WeakConcurrentMap<InstrumentationScopeInfo,InstrumentationScopeMarshaler> SCOPE_MARSHALER_CACHE -
serializedBinary
private final byte[] serializedBinary -
serializedJson
-
-
Constructor Details
-
InstrumentationScopeMarshaler
-
-
Method Details
-
create
Returns a Marshaler for InstrumentationScopeInfo. -
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-