Interface VersionedPortable

All Superinterfaces:
Portable

@Deprecated(since="5.4", forRemoval=true) public interface VersionedPortable extends Portable
Deprecated, for removal: This API element is subject to removal in a future version.
Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
An extension to Portable to support per-object version instead of a global serialization version.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns version for this Portable class

    Methods inherited from interface com.hazelcast.nio.serialization.Portable

    getClassId, getFactoryId, readPortable, writePortable
  • Method Details

    • getClassVersion

      int getClassVersion()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns version for this Portable class
      Returns:
      class version