public interface AvailabilityContext
| Modifier and Type | Method and Description |
|---|---|
AvailabilityCollectorRunnable |
createAvailabilityCollectorRunnable(AvailabilityFacet availChecker,
long interval)
Deprecated.
this is no longer useful - all resources' avail checks are async since 4.10
|
void |
disable()
This method allows the component to request the server set the resource DISABLED in the same way that
a user can set a resource DISABLED.
|
void |
enable()
This method allows the component to request the server set the resource ENABLED in the same way that
a user can set a resource ENABLED.
|
org.rhq.core.domain.measurement.AvailabilityType |
getLastReportedAvailability()
This method will return the last reported AvailabilityType, which can be null if not yet reported.
|
void |
requestAvailabilityCheck()
The plugin container (PC) checks resource availability based on the collection interval on the {code}AvailabilityType{code}
metric.
|
@Deprecated AvailabilityCollectorRunnable createAvailabilityCollectorRunnable(AvailabilityFacet availChecker, long interval)
void requestAvailabilityCheck()
org.rhq.core.domain.measurement.AvailabilityType getLastReportedAvailability()
AvailabilityFacet.getAvailability(), raher it will return
the result of the most recent call to that method, made by the plugin container.void disable()
#enable()}void enable()
#disable()}Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.