com.hazelcast.management
Class ManagementCenterIdentifier
java.lang.Object
com.hazelcast.management.ManagementCenterIdentifier
- All Implemented Interfaces:
- JsonSerializable
public class ManagementCenterIdentifier
- extends Object
- implements JsonSerializable
Identifier for the ManagementCenter. This information is used when a member identifies itself to the
ManagementCenter. It contains information like version/clustername/address.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagementCenterIdentifier
public ManagementCenterIdentifier()
ManagementCenterIdentifier
public ManagementCenterIdentifier(String version,
String clusterName,
String address)
getVersionAsInt
public static int getVersionAsInt(String versionString)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
convertVersionToString
public static String convertVersionToString(int version)
toJson
public com.eclipsesource.json.JsonObject toJson()
- Specified by:
toJson
in interface JsonSerializable
fromJson
public void fromJson(com.eclipsesource.json.JsonObject json)
- Specified by:
fromJson
in interface JsonSerializable
getVersion
public int getVersion()
getVersionString
public String getVersionString()
getClusterName
public String getClusterName()
getAddress
public String getAddress()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.