Class StatelessMarshalerUtil.RepeatedElementPairSizeCalculator<K,V>
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.StatelessMarshalerUtil.RepeatedElementPairSizeCalculator<K,V>
-
- All Implemented Interfaces:
java.util.function.BiConsumer<K,V>
- Enclosing class:
- StatelessMarshalerUtil
private static class StatelessMarshalerUtil.RepeatedElementPairSizeCalculator<K,V> extends java.lang.Object implements java.util.function.BiConsumer<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private MarshalerContext
context
private int
fieldTagSize
private StatelessMarshaler2<K,V>
marshaler
private int
size
-
Constructor Summary
Constructors Modifier Constructor Description private
RepeatedElementPairSizeCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(K key, V value)
(package private) void
initialize(ProtoFieldInfo field, StatelessMarshaler2<K,V> marshaler, MarshalerContext context)
-
-
-
Field Detail
-
size
private int size
-
fieldTagSize
private int fieldTagSize
-
marshaler
private StatelessMarshaler2<K,V> marshaler
-
context
private MarshalerContext context
-
-
Method Detail
-
initialize
void initialize(ProtoFieldInfo field, StatelessMarshaler2<K,V> marshaler, MarshalerContext context)
-
-