public class StatusManagerBean extends Object implements StatusManagerLocal
CacheConsistencyManagerBean to determine what data needs to be reloaded.
Unless we're debugging, let's use the status field on the Agent and Server entities
as a simple bit field; this way the logic for setting the field simplifies to a simple boolean check
instead of a more complex bit| Constructor and Description |
|---|
StatusManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getAndClearAgentsWithStatusForServer(String serverName) |
void |
markGlobalCache() |
void |
updateByAgent(int agentId) |
void |
updateByAlertDefinition(org.rhq.core.domain.auth.Subject subject,
int alertDefinitionId) |
void |
updateByAutoBaselineCalculationJob() |
void |
updateByMeasurementBaseline(int baselineId) |
void |
updateByResource(org.rhq.core.domain.auth.Subject subject,
int resourceId) |
public List<Integer> getAndClearAgentsWithStatusForServer(String serverName)
getAndClearAgentsWithStatusForServer in interface StatusManagerLocalpublic void updateByResource(org.rhq.core.domain.auth.Subject subject,
int resourceId)
updateByResource in interface StatusManagerLocalpublic void updateByAlertDefinition(org.rhq.core.domain.auth.Subject subject,
int alertDefinitionId)
updateByAlertDefinition in interface StatusManagerLocalpublic void markGlobalCache()
markGlobalCache in interface StatusManagerLocalpublic void updateByMeasurementBaseline(int baselineId)
updateByMeasurementBaseline in interface StatusManagerLocalpublic void updateByAgent(int agentId)
updateByAgent in interface StatusManagerLocalpublic void updateByAutoBaselineCalculationJob()
updateByAutoBaselineCalculationJob in interface StatusManagerLocalCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.