|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.cloud.CloudManagerBean
public class CloudManagerBean
This class manages and reports information about the RHQ Server Cloud as a whole. It does not discern which server is which, and can be called from any server in the cloud and will operate identically the same results.
| Constructor Summary | |
|---|---|
CloudManagerBean()
|
|
| Method Summary | |
|---|---|
void |
deleteServer(java.lang.Integer serverId)
|
void |
deleteServers(java.lang.Integer[] serverIds)
|
java.util.List<Agent> |
getAgentsByServerName(java.lang.String serverName)
|
java.util.List<Server> |
getAllCloudServers()
Return every server registered in the database considered part of the active cloud. |
java.util.List<Server> |
getAllServers()
Return every server registered in the database. |
PageList<FailoverListDetails> |
getFailoverListDetailsByAgentId(int agentId,
PageControl pc)
|
int |
getNormalServerCount()
Returns the number of servers that are part of the "server cloud" that are currently running in "normal" mode. |
Server |
getServerById(int serverId)
|
Server |
getServerByName(java.lang.String serverName)
|
PageList<ServerWithAgentCountComposite> |
getServerComposites(Subject subject,
PageControl pc)
|
int |
getServerCount()
Returns the number of servers that are part of the "server cloud", which excludes servers that have been installed but not associated with the cloud. |
void |
markStaleServersDown(Subject subject)
|
Server |
updateServer(Subject subject,
Server server)
|
void |
updateServerMode(java.lang.Integer[] serverIds,
Server.OperationMode mode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CloudManagerBean()
| Method Detail |
|---|
public java.util.List<Agent> getAgentsByServerName(java.lang.String serverName)
getAgentsByServerName in interface CloudManagerLocalpublic Server getServerById(int serverId)
getServerById in interface CloudManagerLocalpublic Server getServerByName(java.lang.String serverName)
getServerByName in interface CloudManagerLocalpublic java.util.List<Server> getAllCloudServers()
CloudManagerLocal
getAllCloudServers in interface CloudManagerLocalpublic java.util.List<Server> getAllServers()
CloudManagerLocal
getAllServers in interface CloudManagerLocal
public PageList<ServerWithAgentCountComposite> getServerComposites(Subject subject,
PageControl pc)
getServerComposites in interface CloudManagerLocalpublic int getServerCount()
CloudManagerLocal
getServerCount in interface CloudManagerLocalpublic int getNormalServerCount()
CloudManagerLocal
getNormalServerCount in interface CloudManagerLocal
public void deleteServers(java.lang.Integer[] serverIds)
throws CloudManagerException
deleteServers in interface CloudManagerLocalCloudManagerException
public void deleteServer(java.lang.Integer serverId)
throws CloudManagerException
deleteServer in interface CloudManagerLocalCloudManagerException
public void updateServerMode(java.lang.Integer[] serverIds,
Server.OperationMode mode)
updateServerMode in interface CloudManagerLocal
public Server updateServer(Subject subject,
Server server)
updateServer in interface CloudManagerLocal
public PageList<FailoverListDetails> getFailoverListDetailsByAgentId(int agentId,
PageControl pc)
getFailoverListDetailsByAgentId in interface CloudManagerLocalpublic void markStaleServersDown(Subject subject)
markStaleServersDown in interface CloudManagerLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||