|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.measurement.MeasurementOOBManagerBean
public class MeasurementOOBManagerBean
Manager bean for Out-of-Bound measurements.
| Constructor Summary | |
|---|---|
MeasurementOOBManagerBean()
|
|
| Method Summary | |
|---|---|
void |
computeOOBsFromHourBeginingAt(Subject subject,
long begin)
Compute oobs from the values in the 1h measurement table that just got added. |
void |
computeOOBsFromLastHour(Subject subject)
Computes the OOBs for the last hour. |
PageList<MeasurementOOBComposite> |
getHighestNOOBsForGroup(Subject subject,
int groupId,
int n)
Returns the highest n OOBs for the passed group id |
PageList<MeasurementOOBComposite> |
getHighestNOOBsForResource(Subject subject,
int resourceId,
int n)
Returns the highest n OOBs for the passed resource id |
PageList<MeasurementOOBComposite> |
getSchedulesWithOOBs(Subject subject,
String metricNameFilter,
String resourceNameFilter,
String parentNameFilter,
PageControl pc)
Return OOB Composites that contain all information about the OOBs in a given time as aggregates. |
void |
removeOOBsForGroupAndDefinition(Subject subject,
int resourceGroupId,
int measurementDefinitionId)
|
void |
removeOOBsForSchedule(Subject subject,
MeasurementSchedule sched)
Resets the OOB data for the passed schedule |
void |
removeOutdatedOOBs(Subject subject,
long cutoffTime)
Remove OOBs for schedules that had their baselines calculated after a certain cutoff point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeasurementOOBManagerBean()
| Method Detail |
|---|
public void computeOOBsFromHourBeginingAt(Subject subject,
long begin)
computeOOBsFromHourBeginingAt in interface MeasurementOOBManagerLocalsubject - Subject of the callerbegin - Start time of the 1h entries to look atpublic void computeOOBsFromLastHour(Subject subject)
computeOOBsFromLastHour in interface MeasurementOOBManagerLocalsubject - Caller
public void removeOutdatedOOBs(Subject subject,
long cutoffTime)
removeOutdatedOOBs in interface MeasurementOOBManagerLocalsubject - The callercutoffTime - The reference time to determine new baselines
public void removeOOBsForSchedule(Subject subject,
MeasurementSchedule sched)
removeOOBsForSchedule in interface MeasurementOOBManagerLocalsubject - Callersched - the schedule for which we want to clean out the data
public void removeOOBsForGroupAndDefinition(Subject subject,
int resourceGroupId,
int measurementDefinitionId)
removeOOBsForGroupAndDefinition in interface MeasurementOOBManagerLocal
public PageList<MeasurementOOBComposite> getSchedulesWithOOBs(Subject subject,
String metricNameFilter,
String resourceNameFilter,
String parentNameFilter,
PageControl pc)
getSchedulesWithOOBs in interface MeasurementOOBManagerLocalsubject - The callermetricNameFilter - a schedule name to filter forresourceNameFilter - a resource name to filter forparentNameFilter - a parent resource name to filter for @return List of schedules with the corresponing oob aggregatespc - PageControl to do pagination
public PageList<MeasurementOOBComposite> getHighestNOOBsForResource(Subject subject,
int resourceId,
int n)
getHighestNOOBsForResource in interface MeasurementOOBManagerLocalsubject - callerresourceId - the resource we are interested inn - max number of entries wanted
public PageList<MeasurementOOBComposite> getHighestNOOBsForGroup(Subject subject,
int groupId,
int n)
getHighestNOOBsForGroup in interface MeasurementOOBManagerLocalsubject - callergroupId - the group we are interested inn - max number of entries wanted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||