Uses of Class
com.hazelcast.version.Version
Package
Description
Contains interfaces/classes related to serialization,
such as serializer interfaces, input/output streams.
This package contains classes to support the versioning API.
-
Uses of Version in com.hazelcast.nio
Modifier and TypeMethodDescriptionVersionAware.getVersion()
WanProtocolVersionAware.getWanProtocolVersion()
Returns the WAN protocol version.Modifier and TypeMethodDescriptionvoid
VersionAware.setVersion
(Version version) If the serializer supports versioning it may set the version to use for the serialization on this object.void
WanProtocolVersionAware.setWanProtocolVersion
(Version version) Sets the WAN protocol version. -
Uses of Version in com.hazelcast.version
Modifier and TypeFieldDescriptionstatic final Version
Version.UNKNOWN
Version 0.0 is UNKNOWN constantUNKNOWN
is only equal to itself.is(Less|Greater)Than
method with anUNKNOWN
operand returns false.is(Less|Greater)OrEqual
with anUNKNOWN
operand returns false, unless both operands areUNKNOWN
.UNKNOWN.isUnknown(Less|Greater)(Than|OrEqual)
returns true.otherVersion.isUnknown(Less|Greater)(Than|OrEqual)
with anUNKNOWN
argument returns false.Modifier and TypeMethodDescriptionMemberVersion.asVersion()
static Version
Version.of
(int major, int minor) static Version
Parse the given string to aVersion
.Modifier and TypeMethodDescriptionint
boolean
Checks if the version is between specified version (both ends inclusive)boolean
boolean
Version.isGreaterOrEqual
(Version version) boolean
Version.isGreaterThan
(Version version) boolean
Version.isLessOrEqual
(Version version) boolean
Version.isLessThan
(Version version) boolean
Version.isUnknownOrGreaterOrEqual
(Version version) boolean
Version.isUnknownOrGreaterThan
(Version version) boolean
Version.isUnknownOrLessOrEqual
(Version version) boolean
Version.isUnknownOrLessThan
(Version version)