Package com.microstrategy.web.objects
Interface WebClusterNodeInfo
-
public interface WebClusterNodeInfo
This 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.String
getNodeAddress()
Returns a node Addressjava.lang.String
getNodeHostName()
Returns a node namejava.lang.String
getNodeName()
int
getPort()
WebProjectInfo
getProject(int i)
Get the project at given index from a collection of projects.WebProjectInfo
getProject(java.lang.String id)
Get the project represented by DSS ID.int
getProjectCount()
Retuns a number of projects in any status as specified inEnumDSSXMLProjectStatus
) from a collectionint
getStatus()
boolean
isAlive()
Returns boolean specifying if the node is alive or not, as represented byEnumDSSXMLClusterMemberStatus
with 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 byEnumDSSXMLClusterMemberStatus
with value DssXmlClusterMemberStatusExecuting.- Returns:
-
getNodeHostName
java.lang.String getNodeHostName()
Returns a node name- Returns:
-
getNodeAddress
java.lang.String getNodeAddress()
Returns a node Address- Returns:
-
-