public interface MeasurementProblemManagerLocal
| Modifier and Type | Method and Description |
|---|---|
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). |
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)
down
oldestDate time (specified in epoch milliseconds), that resource is returned in the list (assuming the
given user has access to view that resource).subject - the user asking for the dataoldestDate - no problems will be returned that started before this timemaxResources - the maximum number of resources that should be returnedCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.