Package | Description |
---|---|
com.hazelcast.cluster |
This package contains the cluster functionality.
|
com.hazelcast.nio |
This package contains classes related to New IO
|
com.hazelcast.version |
This package contains classes to support the versioning API.
|
Modifier and Type | Method and Description |
---|---|
Version |
Cluster.getClusterVersion()
The cluster version indicates the operating version of the cluster.
|
Modifier and Type | Method and Description |
---|---|
void |
Cluster.changeClusterVersion(Version version)
Changes the cluster version transactionally.
|
void |
Cluster.changeClusterVersion(Version version,
TransactionOptions options)
Changes the cluster version transactionally, with the transaction options provided.
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionAware.getVersion() |
Version |
WanProtocolVersionAware.getWanProtocolVersion()
Returns the WAN protocol version.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Field and Description |
---|---|
static Version |
Version.UNKNOWN
Version 0.0 is UNKNOWN constant
UNKNOWN is only equal to itself.
is(Less|Greater)Than method with an UNKNOWN operand returns false.
is(Less|Greater)OrEqual with an UNKNOWN operand returns false, unless both operands are UNKNOWN.
UNKNOWN.isUnknown(Less|Greater)(Than|OrEqual) returns true.
otherVersion.isUnknown(Less|Greater)(Than|OrEqual) with an UNKNOWN argument returns false.
|
Modifier and Type | Method and Description |
---|---|
Version |
MemberVersion.asVersion() |
static Version |
Version.of(int major,
int minor) |
static Version |
Version.of(String version)
Parse the given string to a
Version . |
Modifier and Type | Method and Description |
---|---|
int |
Version.compareTo(Version o) |
boolean |
Version.isBetween(Version from,
Version to)
Checks if the version is between specified version (both ends inclusive)
|
boolean |
Version.isEqualTo(Version version) |
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) |
Copyright © 2020 Hazelcast, Inc.. All rights reserved.