org.rhq.enterprise.server.alert.engine.mbean
Class AlertConditionCacheMonitor
java.lang.Object
org.rhq.enterprise.server.alert.engine.mbean.AlertConditionCacheMonitor
- All Implemented Interfaces:
- javax.management.MBeanRegistration, AlertConditionCacheMonitorMBean
public class AlertConditionCacheMonitor
- extends java.lang.Object
- implements AlertConditionCacheMonitorMBean, javax.management.MBeanRegistration
An MBean that exposes various structures contained with the AlertConditionCache
- Author:
- Joseph Marques
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
availabilityCacheElementMatches
public java.util.concurrent.atomic.AtomicInteger availabilityCacheElementMatches
eventCacheElementMatches
public java.util.concurrent.atomic.AtomicInteger eventCacheElementMatches
measurementCacheElementMatches
public java.util.concurrent.atomic.AtomicInteger measurementCacheElementMatches
resourceConfigurationCacheElementMatches
public java.util.concurrent.atomic.AtomicInteger resourceConfigurationCacheElementMatches
operationCacheElementMatches
public java.util.concurrent.atomic.AtomicInteger operationCacheElementMatches
totalCacheElementMatches
public java.util.concurrent.atomic.AtomicInteger totalCacheElementMatches
availabilityProcessingTime
public java.util.concurrent.atomic.AtomicLong availabilityProcessingTime
eventProcessingTime
public java.util.concurrent.atomic.AtomicLong eventProcessingTime
measurementProcessingTime
public java.util.concurrent.atomic.AtomicLong measurementProcessingTime
resourceConfigurationProcessingTime
public java.util.concurrent.atomic.AtomicLong resourceConfigurationProcessingTime
operationProcessingTime
public java.util.concurrent.atomic.AtomicLong operationProcessingTime
totalProcessingTime
public java.util.concurrent.atomic.AtomicLong totalProcessingTime
AlertConditionCacheMonitor
public AlertConditionCacheMonitor()
getMBean
public static AlertConditionCacheMonitorMBean getMBean()
getAvailabilityCacheElementCount
public int getAvailabilityCacheElementCount()
- Specified by:
getAvailabilityCacheElementCount in interface AlertConditionCacheMonitorMBean
getEventCacheElementCount
public int getEventCacheElementCount()
- Specified by:
getEventCacheElementCount in interface AlertConditionCacheMonitorMBean
getMeasurementCacheElementCount
public int getMeasurementCacheElementCount()
- Specified by:
getMeasurementCacheElementCount in interface AlertConditionCacheMonitorMBean
getResourceConfigurationCacheElementCount
public int getResourceConfigurationCacheElementCount()
- Specified by:
getResourceConfigurationCacheElementCount in interface AlertConditionCacheMonitorMBean
getOperationCacheElementCount
public int getOperationCacheElementCount()
- Specified by:
getOperationCacheElementCount in interface AlertConditionCacheMonitorMBean
getCacheCounts
public java.util.Map<java.lang.String,java.lang.Integer> getCacheCounts()
- Specified by:
getCacheCounts in interface AlertConditionCacheMonitorMBean
getAvailabilityCacheElementMatches
public int getAvailabilityCacheElementMatches()
- Specified by:
getAvailabilityCacheElementMatches in interface AlertConditionCacheMonitorMBean
getEventCacheElementMatches
public int getEventCacheElementMatches()
- Specified by:
getEventCacheElementMatches in interface AlertConditionCacheMonitorMBean
getMeasurementCacheElementMatches
public int getMeasurementCacheElementMatches()
- Specified by:
getMeasurementCacheElementMatches in interface AlertConditionCacheMonitorMBean
getResourceConfigurationCacheElementMatches
public int getResourceConfigurationCacheElementMatches()
- Specified by:
getResourceConfigurationCacheElementMatches in interface AlertConditionCacheMonitorMBean
getOperationCacheElementMatches
public int getOperationCacheElementMatches()
- Specified by:
getOperationCacheElementMatches in interface AlertConditionCacheMonitorMBean
getTotalCacheElementMatches
public int getTotalCacheElementMatches()
- Specified by:
getTotalCacheElementMatches in interface AlertConditionCacheMonitorMBean
incrementAvailabilityCacheElementMatches
public void incrementAvailabilityCacheElementMatches(int matches)
- Specified by:
incrementAvailabilityCacheElementMatches in interface AlertConditionCacheMonitorMBean
incrementEventCacheElementMatches
public void incrementEventCacheElementMatches(int matches)
- Specified by:
incrementEventCacheElementMatches in interface AlertConditionCacheMonitorMBean
incrementResourceConfigurationCacheElementMatches
public void incrementResourceConfigurationCacheElementMatches(int matches)
- Specified by:
incrementResourceConfigurationCacheElementMatches in interface AlertConditionCacheMonitorMBean
incrementMeasurementCacheElementMatches
public void incrementMeasurementCacheElementMatches(int matches)
- Specified by:
incrementMeasurementCacheElementMatches in interface AlertConditionCacheMonitorMBean
incrementOperationCacheElementMatches
public void incrementOperationCacheElementMatches(int matches)
- Specified by:
incrementOperationCacheElementMatches in interface AlertConditionCacheMonitorMBean
getAvailabilityProcessingTime
public long getAvailabilityProcessingTime()
- Specified by:
getAvailabilityProcessingTime in interface AlertConditionCacheMonitorMBean
getEventProcessingTime
public long getEventProcessingTime()
- Specified by:
getEventProcessingTime in interface AlertConditionCacheMonitorMBean
getMeasurementProcessingTime
public long getMeasurementProcessingTime()
- Specified by:
getMeasurementProcessingTime in interface AlertConditionCacheMonitorMBean
getOperationProcessingTime
public long getOperationProcessingTime()
- Specified by:
getOperationProcessingTime in interface AlertConditionCacheMonitorMBean
getTotalProcessingTime
public long getTotalProcessingTime()
- Specified by:
getTotalProcessingTime in interface AlertConditionCacheMonitorMBean
incrementAvailabilityProcessingTime
public void incrementAvailabilityProcessingTime(long moreMillis)
- Specified by:
incrementAvailabilityProcessingTime in interface AlertConditionCacheMonitorMBean
incrementEventProcessingTime
public void incrementEventProcessingTime(long moreMillis)
- Specified by:
incrementEventProcessingTime in interface AlertConditionCacheMonitorMBean
incrementResourceConfigurationProcessingTime
public void incrementResourceConfigurationProcessingTime(long moreMillis)
- Specified by:
incrementResourceConfigurationProcessingTime in interface AlertConditionCacheMonitorMBean
incrementMeasurementProcessingTime
public void incrementMeasurementProcessingTime(long moreMillis)
- Specified by:
incrementMeasurementProcessingTime in interface AlertConditionCacheMonitorMBean
incrementOperationProcessingTime
public void incrementOperationProcessingTime(long moreMillis)
- Specified by:
incrementOperationProcessingTime in interface AlertConditionCacheMonitorMBean
getReloadCaches
public void getReloadCaches()
- Specified by:
getReloadCaches in interface AlertConditionCacheMonitorMBean
preRegister
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws java.lang.Exception
- Specified by:
preRegister in interface javax.management.MBeanRegistration
- Throws:
java.lang.Exception
postRegister
public void postRegister(java.lang.Boolean registrationDone)
- Specified by:
postRegister in interface javax.management.MBeanRegistration
preDeregister
public void preDeregister()
throws java.lang.Exception
- Specified by:
preDeregister in interface javax.management.MBeanRegistration
- Throws:
java.lang.Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister in interface javax.management.MBeanRegistration
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.