org.rhq.enterprise.server.measurement
Interface AvailabilityManagerRemote
- All Known Subinterfaces:
- WebservicesRemote
public interface AvailabilityManagerRemote
- Author:
- Noam Malki
findAvailabilityForResource
PageList<Availability> findAvailabilityForResource(Subject subject,
int resourceId,
PageControl pc)
- 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.
Note: only use this method if you really need to know the additional RLE information that
comes with the Availabilty entity. If you really only need to know whether a resource is UP or DOWN,
then use the more efficient method
#getCurrentAvailabilityTypeForResource(Subject, int)
.
- Parameters:
subject
- resourceId
-
- Returns:
- the full and current status of the resource
- Throws:
FetchException
- TODO
FetchException
Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.