Class ImmutableMapSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
io.atomix.utils.serializer.serializers.ImmutableMapSerializer
public class ImmutableMapSerializer
extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
Kryo Serializer for
ImmutableMap.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableMap<?,?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableMap<?, ?>> type) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableMap<?, ?> object) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
ImmutableMapSerializer
public ImmutableMapSerializer()CreatesImmutableMapserializer instance.
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableMap<?, ?> object) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
-
read
public com.google.common.collect.ImmutableMap<?,?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableMap<?, ?>> type) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
-