Class SnapshotSerializer

  • All Implemented Interfaces:
    BaseSerializer, Serializer

    public class SnapshotSerializer
    extends java.lang.Object
    implements BaseSerializer
    Serializes a Snapshot. Delegates serialization of snapshot data to a matching akka.serialization.Serializer.
    • Method Detail

      • fromBinary

        public java.lang.Object fromBinary​(byte[] bytes,
                                           scala.Option<java.lang.Class<?>> manifest)
        Deserializes a Snapshot. Delegates deserialization of snapshot data to a matching akka.serialization.Serializer.
        Specified by:
        fromBinary in interface Serializer
        Parameters:
        bytes - (undocumented)
        manifest - (undocumented)
        Returns:
        (undocumented)
      • includeManifest

        public boolean includeManifest()
        Description copied from interface: Serializer
        Returns whether this serializer needs a manifest in the fromBinary method
        Specified by:
        includeManifest in interface Serializer
        Returns:
        (undocumented)
      • toBinary

        public byte[] toBinary​(java.lang.Object o)
        Serializes a Snapshot. Delegates serialization of snapshot data to a matching akka.serialization.Serializer.
        Specified by:
        toBinary in interface Serializer
        Parameters:
        o - (undocumented)
        Returns:
        (undocumented)