public class XapManagerClusterInfo extends Object implements ManagerClusterInfo, SmartExternalizable
Modifier and Type | Field and Description |
---|---|
static String |
MANAGER_CLUSTER_TYPE_ENV_VAR |
static String |
SERVER_ENV_VAR_SUFFIX |
static String |
SERVER_PROPERTY |
static String |
SERVERS_ENV_VAR |
static String |
SERVERS_ENV_VAR_SUFFIX |
static String |
SERVERS_PROPERTY |
Constructor and Description |
---|
XapManagerClusterInfo() |
XapManagerClusterInfo(InetAddress currHost) |
XapManagerClusterInfo(Properties sysProps,
Map<String,String> env) |
XapManagerClusterInfo(String host,
InetAddress currHost) |
Modifier and Type | Method and Description |
---|---|
XapManagerConfig |
getCurrServer() |
List<String> |
getHosts() |
ManagerClusterType |
getManagerClusterType()
Returns the manager cluster type.
|
List<ManagerInstanceInfo> |
getManagers()
Returns the list of manager instances (empty list if no managers).
|
List<XapManagerConfig> |
getServers() |
String |
getZookeeperConnectionString()
Returns a connection string to the manager's zookeeper cluster.
|
boolean |
isEmpty() |
void |
readExternal(ObjectInput in) |
int |
size() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public static final String SERVERS_PROPERTY
public static final String SERVER_PROPERTY
public static final String SERVERS_ENV_VAR_SUFFIX
public static final String SERVERS_ENV_VAR
public static final String SERVER_ENV_VAR_SUFFIX
public static final String MANAGER_CLUSTER_TYPE_ENV_VAR
public XapManagerClusterInfo()
public XapManagerClusterInfo(InetAddress currHost)
public XapManagerClusterInfo(String host, InetAddress currHost)
public XapManagerClusterInfo(Properties sysProps, Map<String,String> env)
public ManagerClusterType getManagerClusterType()
ManagerClusterInfo
getManagerClusterType
in interface ManagerClusterInfo
public List<XapManagerConfig> getServers()
public boolean isEmpty()
public int size()
public XapManagerConfig getCurrServer()
public List<ManagerInstanceInfo> getManagers()
ManagerClusterInfo
getManagers
in interface ManagerClusterInfo
public String getZookeeperConnectionString()
ManagerClusterInfo
getZookeeperConnectionString
in interface ManagerClusterInfo
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.