Interface PojoSerializer<O>
-
- All Known Implementing Classes:
KryoSerializer
public interface PojoSerializer<O>
Interface implemented by serializers. The serializer for a particular object can be configured via thePersistenceConfig
annotation.Implementations of this interface are expected to provide a constructor which takes two arguments: (Class objectType, PersistenceConfig persistenceConfig).
- Author:
- npgall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description O
deserialize(byte[] bytes)
byte[]
serialize(O object)
-