org.rhq.enterprise.server.resource.cluster
Class ClusterManagerBean
java.lang.Object
org.rhq.enterprise.server.resource.cluster.ClusterManagerBean
- All Implemented Interfaces:
- ClusterManagerLocal
public class ClusterManagerBean
- extends java.lang.Object
- implements ClusterManagerLocal
- Author:
- jay shaughnessy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterManagerBean
public ClusterManagerBean()
createAutoClusterBackingGroup
public ResourceGroup createAutoClusterBackingGroup(Subject subject,
ClusterKey clusterKey,
boolean addResources)
- Description copied from interface:
ClusterManagerLocal
- Given a cluster key create a backing group.
- Specified by:
createAutoClusterBackingGroup in interface ClusterManagerLocal
addResources - If true, the new group will be assigned the current resources defined by the clusterKey.
Otherwise no resources will be assigned to the new group.
getAutoClusterBackingGroup
public ResourceGroup getAutoClusterBackingGroup(Subject subject,
ClusterKey clusterKey)
- Description copied from interface:
ClusterManagerLocal
- Return the backing group for the supplied cluster key. Resource membership will represent the resources
last set for the group and may not reflect current membership. See
#getAutoClusterResources(String)
- Specified by:
getAutoClusterBackingGroup in interface ClusterManagerLocal
- Returns:
- The backing group, or null if the key does not have a backing group.
getAutoClusterResources
public java.util.List<Resource> getAutoClusterResources(Subject subject,
ClusterKey clusterKey)
- Description copied from interface:
ClusterManagerLocal
- Given a cluster key get the auto cluster resource membership. The membership is always determined
at call time, regardless of whether a backing group exists. To get the backing group, if it exists,
for a cluster key then call
#getAutoClusterBackingGroup(String).
- Specified by:
getAutoClusterResources in interface ClusterManagerLocal
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.