public interface AffinityGroupManagerLocal
| Modifier and Type | Method and Description |
|---|---|
void |
addAgentsToGroup(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
Integer[] agentIds)
Adds agents to the affinity group.
|
void |
addServersToGroup(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
Integer[] serverIds)
Adds servers to the affinity group.
|
int |
create(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.AffinityGroup affinityGroup)
Creates a new affinity group.
|
int |
delete(org.rhq.core.domain.auth.Subject subject,
Integer[] affinityGroupIds)
Deletes the affinity groups.
|
int |
getAffinityGroupCount() |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.Agent> |
getAgentMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
Deprecated.
portal war was using it (use finders
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead) |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.Agent> |
getAgentNonMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
Deprecated.
portal war was using it (use finders
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead) |
org.rhq.core.domain.cloud.AffinityGroup |
getById(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId) |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.composite.AffinityGroupCountComposite> |
getComposites(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.util.PageControl pageControl) |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.Server> |
getServerMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
Deprecated.
portal war was using it (use finders
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead) |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.Server> |
getServerNonMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
Deprecated.
portal war was using it (use finders
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead) |
void |
removeAgentsFromGroup(org.rhq.core.domain.auth.Subject subject,
Integer[] agentIds)
This should only be called if the agent is currently assigned to an affinity group and that group
is being removed, setting the agent to no affinity.
|
void |
removeServersFromGroup(org.rhq.core.domain.auth.Subject subject,
Integer[] serverIds)
This should only be called if the server is currently assigned to an affinity group and that group
is being removed, setting the server to no affinity.
|
org.rhq.core.domain.cloud.AffinityGroup |
update(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.AffinityGroup affinityGroup)
Updates the affinity group.
|
org.rhq.core.domain.cloud.AffinityGroup getById(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId)
int create(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.AffinityGroup affinityGroup)
throws AffinityGroupException
subject - the Subject instanceaffinityGroup - @see AffinityGroupAffinityGroupExceptionint delete(org.rhq.core.domain.auth.Subject subject,
Integer[] affinityGroupIds)
subject - the Subject instanceaffinityGroupIds - org.rhq.core.domain.cloud.AffinityGroup update(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.AffinityGroup affinityGroup)
throws AffinityGroupException
subject - the Subject instanceaffinityGroup - @see AffinityGroupAffinityGroupExceptionvoid addAgentsToGroup(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
Integer[] agentIds)
subject - the Subject instanceaffinityGroupId - agentIds - void removeAgentsFromGroup(org.rhq.core.domain.auth.Subject subject,
Integer[] agentIds)
subject - the Subject instanceagentIds - void addServersToGroup(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
Integer[] serverIds)
subject - the Subject instanceaffinityGroupId - serverIds - void removeServersFromGroup(org.rhq.core.domain.auth.Subject subject,
Integer[] serverIds)
subject - the Subject instanceagentIds - int getAffinityGroupCount()
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.Server> getServerMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead)org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.Server> getServerNonMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead)org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.Agent> getAgentMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead)org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.Agent> getAgentNonMembers(org.rhq.core.domain.auth.Subject subject,
int affinityGroupId,
org.rhq.core.domain.util.PageControl pageControl)
AgentManagerBean.findAgentsByCriteria() and
TopologyManagerBean.findServersByCriteria() instead)org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.composite.AffinityGroupCountComposite> getComposites(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.util.PageControl pageControl)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.