org.rhq.enterprise.server.measurement
Class MeasurementProblemManagerBean

java.lang.Object
  extended by org.rhq.enterprise.server.measurement.MeasurementProblemManagerBean
All Implemented Interfaces:
MeasurementProblemManagerLocal, MeasurementProblemManagerRemote

public class MeasurementProblemManagerBean
extends Object
implements MeasurementProblemManagerLocal, MeasurementProblemManagerRemote

A manager for working with problems such as out-of-bounds measurements.


Constructor Summary
MeasurementProblemManagerBean()
           
 
Method Summary
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.composite.ProblemResourceComposite> findProblemResources(org.rhq.core.domain.auth.Subject subject, long oldestDate, org.rhq.core.domain.util.PageControl pc)
          Returns a list of all "problem resources" where a problem resource has one or more of the following statements true: it is known to be down one or more of its alerts were triggered one or more of its measurements were out-of-bounds (compared to their baselines) If one or more of those are true for any resource, and they became true at or after the given oldestDate time (specified in epoch milliseconds), that resource is returned in the list (assuming the given user has access to view that resource).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurementProblemManagerBean

public MeasurementProblemManagerBean()
Method Detail

findProblemResources

public org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.composite.ProblemResourceComposite> findProblemResources(org.rhq.core.domain.auth.Subject subject,
                                                                                                                               long oldestDate,
                                                                                                                               org.rhq.core.domain.util.PageControl pc)
Description copied from interface: MeasurementProblemManagerLocal
Returns a list of all "problem resources" where a problem resource has one or more of the following statements true: If one or more of those are true for any resource, and they became true at or after the given oldestDate time (specified in epoch milliseconds), that resource is returned in the list (assuming the given user has access to view that resource).

Specified by:
findProblemResources in interface MeasurementProblemManagerLocal
Specified by:
findProblemResources in interface MeasurementProblemManagerRemote
Parameters:
subject - the user asking for the data
oldestDate - no problems will be returned that started before this time
Returns:
the problems resources (only those resources visible to the user will be returned)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.