Class ImmutableMapSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
-
- org.onosproject.store.serializers.ImmutableMapSerializer
-
public class ImmutableMapSerializer extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>Kryo Serializer forImmutableMap.
-
-
Constructor Summary
Constructors Constructor Description ImmutableMapSerializer()CreatesImmutableMapserializer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableMap<?,?>read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<com.google.common.collect.ImmutableMap<?,?>> type)voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableMap<?,?> object)
-
-
-
Method Detail
-
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<com.google.common.collect.ImmutableMap<?,?>> type)- Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
-
-