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, waitenabledSmartExternalizableWithReferencepublic 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()
ManagerClusterInfogetManagerClusterType in interface ManagerClusterInfopublic List<XapManagerConfig> getServers()
public boolean isEmpty()
public int size()
public XapManagerConfig getCurrServer()
public List<ManagerInstanceInfo> getManagers()
ManagerClusterInfogetManagers in interface ManagerClusterInfopublic String getZookeeperConnectionString()
ManagerClusterInfogetZookeeperConnectionString in interface ManagerClusterInfopublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.