org.rhq.enterprise.server.measurement
Interface AvailabilityManagerRemote

All Known Subinterfaces:
WebservicesRemote

public interface AvailabilityManagerRemote


Method Summary
 PageList<Availability> findAvailabilityByCriteria(Subject subject, AvailabilityCriteria criteria)
           
 PageList<Availability> findAvailabilityForResource(Subject subject, int resourceId, PageControl pc)
          Deprecated. 
 Availability getCurrentAvailabilityForResource(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

@Deprecated
PageList<Availability> findAvailabilityForResource(Subject subject,
                                                              int resourceId,
                                                              PageControl pc)
Deprecated. 

Parameters:
subject -
resourceId -
pc -
Returns:
Throws:
FetchException

getCurrentAvailabilityForResource

Availability getCurrentAvailabilityForResource(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

findAvailabilityByCriteria

PageList<Availability> findAvailabilityByCriteria(Subject subject,
                                                  AvailabilityCriteria criteria)


Copyright © 2005-2011 Red Hat, Inc.. All Rights Reserved.