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()
CreatesImmutableMap
serializer 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)
void
write(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:
write
in 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:
read
in classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableMap<?,?>>
-
-