org.rhq.enterprise.server.measurement
Interface AvailabilityManagerRemote

All Known Subinterfaces:
WebservicesRemote
All Known Implementing Classes:
AvailabilityManagerBean, WebservicesManagerBean

public interface AvailabilityManagerRemote

Author:
Noam Malki

Method Summary
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.measurement.Availability> findAvailabilityForResource(org.rhq.core.domain.auth.Subject subject, int resourceId, org.rhq.core.domain.util.PageControl pc)
           
 org.rhq.core.domain.measurement.Availability getCurrentAvailabilityForResource(org.rhq.core.domain.auth.Subject subject, int resourceId)
          Gets the last known Availability for the given resource - which includes whether it is currently up (i.e.
 

Method Detail

findAvailabilityForResource

org.rhq.core.domain.util.PageList<org.rhq.core.domain.measurement.Availability> findAvailabilityForResource(org.rhq.core.domain.auth.Subject subject,
                                                                                                            int resourceId,
                                                                                                            org.rhq.core.domain.util.PageControl pc)
Parameters:
subject -
resourceId -
pc -
Returns:
Throws:
FetchException

getCurrentAvailabilityForResource

org.rhq.core.domain.measurement.Availability getCurrentAvailabilityForResource(org.rhq.core.domain.auth.Subject subject,
                                                                               int resourceId)
Gets the last known Availability for the given resource - which includes whether it is currently up (i.e. available) or down and the last time it was known to have changed to that state.

Parameters:
subject -
resourceId -
Returns:
the full and current status of the resource
Throws:
FetchException - TODO
FetchException


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