org.rhq.enterprise.server.alert.engine.internal
Class AlertConditionCacheCoordinator
java.lang.Object
org.rhq.enterprise.server.alert.engine.internal.AlertConditionCacheCoordinator
public final class AlertConditionCacheCoordinator
- extends Object
This singleton that contains multiple AgentConditionCaches and one GlobalConditionCache.
Each AgentConditionCache will maintain AbstractCacheElements for data that can ONLY be
reported by an agent, and thus can be perfectly segmented on an agent-by-agent basis. On the other hand,
the GlobalConditionCache will maintain AbstractCacheElements for data that can either be
agent-side or server-side initiated.
This manager forms a centralized interface through which to interact with the children caches.
- Author:
- Joseph Marques
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static AlertConditionCacheCoordinator getInstance()
reloadGlobalCache
public void reloadGlobalCache()
reloadCachesForAgent
public void reloadCachesForAgent(int agentId)
checkConditions
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.measurement.MeasurementData... measurementData)
checkConditions
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.measurement.calltime.CallTimeData... callTimeData)
checkConditions
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.operation.OperationHistory operationHistory)
checkConditions
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.configuration.ResourceConfigurationUpdate update)
checkConditions
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.event.EventSource source,
org.rhq.core.domain.event.Event... events)
checkConditions
public AlertConditionCacheStats checkConditions(DriftChangeSetSummary driftChangeSetSummary)
checkConditions
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.measurement.Availability... availabilities)
getCacheSize
public int getCacheSize(AlertConditionCacheCoordinator.Cache cache)
getCacheCounts
public Map<String,Integer> getCacheCounts()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.