Class KeyValuePairSerializerV5
java.lang.Object
com.esotericsoftware.kryo.kryo5.Serializer<org.slf4j.event.KeyValuePair>
ch.qos.logback.classic.kryo.KeyValuePairSerializerV5
public class KeyValuePairSerializerV5
extends com.esotericsoftware.kryo.kryo5.Serializer<org.slf4j.event.KeyValuePair>
V5 serializer for a single
KeyValuePair.
Keys use BasicStringSerializer (short repeating names, id cache).
String values use the caller-supplied codec, typically the same
MultiEventCompressedStringSerializer as the event message so there is one deflate stream.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyValuePairSerializerV5(int stringCapacity) KeyValuePairSerializerV5(com.esotericsoftware.kryo.kryo5.Serializer<String> keySerializer, com.esotericsoftware.kryo.kryo5.Serializer<String> valueStringSerializer) -
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.event.KeyValuePairread(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input, Class<? extends org.slf4j.event.KeyValuePair> type) voidwrite(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, org.slf4j.event.KeyValuePair keyValuePair) Methods inherited from class com.esotericsoftware.kryo.kryo5.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
KeyValuePairSerializerV5
-
KeyValuePairSerializerV5
public KeyValuePairSerializerV5(com.esotericsoftware.kryo.kryo5.Serializer<String> keySerializer, com.esotericsoftware.kryo.kryo5.Serializer<String> valueStringSerializer)
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, org.slf4j.event.KeyValuePair keyValuePair) - Specified by:
writein classcom.esotericsoftware.kryo.kryo5.Serializer<org.slf4j.event.KeyValuePair>
-
read
-