Interface LegacySerializable

All Superinterfaces:
MigratedSerializable, Serializable

@Deprecated public interface LegacySerializable extends MigratedSerializable
Deprecated.
Marker interface for serializable objects which have been migrated. It implements MigratedSerializable and always returns true from isMigrated(). This interface is marked as deprecated , as any of its users should also be marked as deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from interface org.opendaylight.controller.cluster.raft.persisted.MigratedSerializable

    writeReplace
  • Method Details

    • isMigrated

      @Deprecated(forRemoval=true) default boolean isMigrated()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: MigratedSerializable
      Return true if this object was created from a previous serialization format.
      Specified by:
      isMigrated in interface MigratedSerializable
      Returns:
      true if this object was created from a previous serialization format, false otherwise.