com.hazelcast.management
Class ManagementCenterIdentifier

java.lang.Object
  extended by 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.


Constructor Summary
ManagementCenterIdentifier()
           
ManagementCenterIdentifier(String version, String clusterName, String address)
           
 
Method Summary
static String convertVersionToString(int version)
           
 void fromJson(com.eclipsesource.json.JsonObject json)
           
 String getAddress()
           
 String getClusterName()
           
 int getVersion()
           
static int getVersionAsInt(String versionString)
           
 String getVersionString()
           
 com.eclipsesource.json.JsonObject toJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementCenterIdentifier

public ManagementCenterIdentifier()

ManagementCenterIdentifier

public ManagementCenterIdentifier(String version,
                                  String clusterName,
                                  String address)
Method Detail

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.