Package com.microstrategy.web.objects
Interface WebClusterNodeInfo
-
public interface WebClusterNodeInfoThis interface represents the information for a single node within a cluster. This can be used for getting the node and project information (for ex.) per cluster node by iterating through the clusters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetNodeAddress()Returns a node Addressjava.lang.StringgetNodeHostName()Returns a node namejava.lang.StringgetNodeName()intgetPort()WebProjectInfogetProject(int i)Get the project at given index from a collection of projects.WebProjectInfogetProject(java.lang.String id)Get the project represented by DSS ID.intgetProjectCount()Retuns a number of projects in any status as specified inEnumDSSXMLProjectStatus) from a collectionintgetStatus()booleanisAlive()Returns boolean specifying if the node is alive or not, as represented byEnumDSSXMLClusterMemberStatuswith value DssXmlClusterMemberStatusExecuting.
-
-
-
Method Detail
-
getStatus
int getStatus()
- Returns:
- a
EnumDSSXMLClusterMemberStatus
-
getPort
int getPort()
- Returns:
- a server node port
-
getNodeName
java.lang.String getNodeName()
- Returns:
- a server node name
-
getProject
WebProjectInfo getProject(int i)
Get the project at given index from a collection of projects. Returns null if not found- Parameters:
i- Index of a project from collection- Returns:
-
getProject
WebProjectInfo getProject(java.lang.String id)
Get the project represented by DSS ID. Returns null if not found- Parameters:
id-- Returns:
-
getProjectCount
int getProjectCount()
Retuns a number of projects in any status as specified inEnumDSSXMLProjectStatus) from a collection- Returns:
-
isAlive
boolean isAlive()
Returns boolean specifying if the node is alive or not, as represented byEnumDSSXMLClusterMemberStatuswith value DssXmlClusterMemberStatusExecuting.- Returns:
-
getNodeHostName
java.lang.String getNodeHostName()
Returns a node name- Returns:
-
getNodeAddress
java.lang.String getNodeAddress()
Returns a node Address- Returns:
-
-