public final class AlertConditionCacheCoordinator extends Object
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.| Modifier and Type | Class and Description |
|---|---|
static class |
AlertConditionCacheCoordinator.Cache |
| Modifier and Type | Method and Description |
|---|---|
AlertConditionCacheStats |
checkConditions(org.rhq.core.domain.measurement.Availability... availabilities) |
AlertConditionCacheStats |
checkConditions(AvailabilityDurationComposite... composites) |
AlertConditionCacheStats |
checkConditions(org.rhq.core.domain.measurement.calltime.CallTimeData... callTimeData) |
AlertConditionCacheStats |
checkConditions(DriftChangeSetSummary driftChangeSetSummary) |
AlertConditionCacheStats |
checkConditions(org.rhq.core.domain.event.EventSource source,
org.rhq.core.domain.event.Event... events) |
AlertConditionCacheStats |
checkConditions(org.rhq.core.domain.measurement.MeasurementData... measurementData) |
AlertConditionCacheStats |
checkConditions(org.rhq.core.domain.operation.OperationHistory operationHistory) |
AlertConditionCacheStats |
checkConditions(org.rhq.core.domain.configuration.ResourceConfigurationUpdate update) |
Map<String,Integer> |
getCacheCounts() |
int |
getCacheSize(AlertConditionCacheCoordinator.Cache cache) |
static AlertConditionCacheCoordinator |
getInstance() |
void |
reloadCachesForAgent(int agentId) |
void |
reloadGlobalCache() |
public static AlertConditionCacheCoordinator getInstance()
public void reloadGlobalCache()
public void reloadCachesForAgent(int agentId)
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.measurement.MeasurementData... measurementData)
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.measurement.calltime.CallTimeData... callTimeData)
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.operation.OperationHistory operationHistory)
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.configuration.ResourceConfigurationUpdate update)
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.event.EventSource source, org.rhq.core.domain.event.Event... events)
public AlertConditionCacheStats checkConditions(DriftChangeSetSummary driftChangeSetSummary)
public AlertConditionCacheStats checkConditions(org.rhq.core.domain.measurement.Availability... availabilities)
public AlertConditionCacheStats checkConditions(AvailabilityDurationComposite... composites)
public int getCacheSize(AlertConditionCacheCoordinator.Cache cache)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.