Class MemberVersion

java.lang.Object
com.hazelcast.version.MemberVersion
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable, Serializable, Comparable<MemberVersion>

public final class MemberVersion extends Object implements IdentifiedDataSerializable, Serializable, Comparable<MemberVersion>
Determines the Hazelcast codebase version in terms of major.minor.patch version.
Since:
3.8
See Also:
  • Field Details

    • UNKNOWN

      public static final MemberVersion UNKNOWN
      UNKNOWN version.
    • MAJOR_MINOR_VERSION_COMPARATOR

      public static final transient Comparator<MemberVersion> MAJOR_MINOR_VERSION_COMPARATOR
      Version comparator that takes into account only major & minor version, disregarding patch version number.
  • Constructor Details

    • MemberVersion

      public MemberVersion()
    • MemberVersion

      public MemberVersion(int major, int minor, int patch)
    • MemberVersion

      public MemberVersion(String version)
  • Method Details