public class BuildInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_HAZELCAST_VERSION |
Constructor and Description |
---|
BuildInfo(String version,
String build,
String revision,
int buildNumber,
boolean enterprise,
byte serializationVersion) |
BuildInfo(String version,
String build,
String revision,
int buildNumber,
boolean enterprise,
byte serializationVersion,
BuildInfo upstreamBuildInfo) |
Modifier and Type | Method and Description |
---|---|
static int |
calculateVersion(String version) |
String |
getBuild() |
int |
getBuildNumber() |
JetBuildInfo |
getJetBuildInfo() |
String |
getRevision() |
byte |
getSerializationVersion() |
BuildInfo |
getUpstreamBuildInfo() |
String |
getVersion() |
boolean |
isEnterprise() |
String |
toString() |
public static final int UNKNOWN_HAZELCAST_VERSION
public BuildInfo(String version, String build, String revision, int buildNumber, boolean enterprise, byte serializationVersion)
public String getRevision()
public String getVersion()
public String getBuild()
public int getBuildNumber()
public boolean isEnterprise()
public byte getSerializationVersion()
public BuildInfo getUpstreamBuildInfo()
public JetBuildInfo getJetBuildInfo()
JetBuildInfo
if Hazelcast Jet is used, null
otherwisepublic static int calculateVersion(String version)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.