Class MastershipBasedTimestampSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<org.onosproject.store.impl.MastershipBasedTimestamp>
-
- org.onosproject.store.serializers.custom.MastershipBasedTimestampSerializer
-
public class MastershipBasedTimestampSerializer extends com.esotericsoftware.kryo.Serializer<org.onosproject.store.impl.MastershipBasedTimestamp>
Kryo Serializer forMastershipBasedTimestamp
.
-
-
Constructor Summary
Constructors Constructor Description MastershipBasedTimestampSerializer()
Creates a serializer forMastershipBasedTimestamp
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.onosproject.store.impl.MastershipBasedTimestamp
read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<org.onosproject.store.impl.MastershipBasedTimestamp> type)
void
write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.onosproject.store.impl.MastershipBasedTimestamp object)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.onosproject.store.impl.MastershipBasedTimestamp object)
- Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<org.onosproject.store.impl.MastershipBasedTimestamp>
-
read
public org.onosproject.store.impl.MastershipBasedTimestamp read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<org.onosproject.store.impl.MastershipBasedTimestamp> type)
- Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<org.onosproject.store.impl.MastershipBasedTimestamp>
-
-