public interface

WebClusterNodeInfo

com.microstrategy.web.objects.WebClusterNodeInfo

Class Overview

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

Summary

Public Methods
abstract String getNodeHostName()
Returns a node name
abstract String getNodeName()
abstract int getPort()
abstract WebProjectInfo getProject(int i)
Get the project at given index from a collection of projects.
abstract WebProjectInfo getProject(String id)
Get the project represented by DSS ID.
abstract int getProjectCount()
Retuns a number of projects in any status as specified in EnumDSSXMLProjectStatus ) from a collection
abstract int getStatus()
abstract boolean isAlive()
Returns boolean specifying if the node is alive or not, as represented by EnumDSSXMLClusterMemberStatus with value DssXmlClusterMemberStatusExecuting.

Public Methods

public abstract String getNodeHostName ()

Returns a node name

public abstract String getNodeName ()

Returns
  • a server node name

public abstract int getPort ()

Returns
  • a server node port

public abstract 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

public abstract WebProjectInfo getProject (String id)

Get the project represented by DSS ID. Returns null if not found

public abstract int getProjectCount ()

Retuns a number of projects in any status as specified in EnumDSSXMLProjectStatus ) from a collection

public abstract int getStatus ()

public abstract boolean isAlive ()

Returns boolean specifying if the node is alive or not, as represented by EnumDSSXMLClusterMemberStatus with value DssXmlClusterMemberStatusExecuting.