org.rhq.enterprise.server.measurement
Interface MeasurementProblemManagerLocal

All Known Implementing Classes:
MeasurementProblemManagerBean

public interface MeasurementProblemManagerLocal

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


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).
 

Method Detail

findProblemResources

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: 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).

Parameters:
subject - the user asking for the data
oldestDate - no problems will be returned that started before this time
maxResources - the maximum number of resources that should be returned
Returns:
the problems resources (only those resources visible to the user will be returned)


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