Package com.microstrategy.web.objects
Interface WebCluster
-
- All Superinterfaces:
CacheHint
public interface WebCluster extends CacheHint
This is a collection ofWebClusterNodeinterfaces.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.utils.cache.CacheHint
ZERO_STATE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Enumerationelements()Returns an enumeration ofWebClusterNodeinterfaces that are in the cluster.WebClusterNodeget(int index)Returns the node at the specified index.WebProjectInstancesgetProjects()Returns the list of all projects loaded on at least one server in the cluster.java.util.Collection<WebClusterNode>getWebClusterNodes(boolean includeInactive)Returns a Collection ofWebClusterNodein this cluster.intsize()Returns the number ofWebClusterNodein this cluster.-
Methods inherited from interface com.microstrategy.utils.cache.CacheHint
getCacheStateId, setCacheStateId
-
-
-
-
Method Detail
-
elements
java.util.Enumeration elements()
Returns an enumeration ofWebClusterNodeinterfaces that are in the cluster.- Returns:
- An Enumeration containing all of the
WebClusterNodein the cluster.
-
size
int size()
Returns the number ofWebClusterNodein this cluster.- Returns:
- Number of nodes in the cluster.
-
get
WebClusterNode get(int index) throws WebObjectsException
Returns the node at the specified index.- Parameters:
index- The index of the node, where the first element has index=1.- Returns:
- An
WebClusterNodeif the specified index exists in the cluster, or null if the index is larger than the size of the array. - Throws:
WebObjectsException
-
getWebClusterNodes
java.util.Collection<WebClusterNode> getWebClusterNodes(boolean includeInactive)
Returns a Collection ofWebClusterNodein this cluster.- Parameters:
includeInactive- when true will return alive and dead nodes, when false will return only alive nodes- Returns:
- Collection of
WebClusterNodein this cluster.
-
getProjects
WebProjectInstances getProjects() throws WebObjectsException
Returns the list of all projects loaded on at least one server in the cluster.- Returns:
- WebProjectInstances object which is a collection of all loaded projects in the cluster
- Throws:
WebObjectsException- Thrown if there is an error retrieving the list.- Since:
- MicroStrategy Web 8.0.0
-
-