public class FeedComponent extends Object implements ResourceComponent<TwitterComponent>, MeasurementFacet, DeleteResourceFacet
| Modifier and Type | Field and Description |
|---|---|
static String |
TOPIC_EVENT |
| Constructor and Description |
|---|
FeedComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteResource()
Used to uninventoy children -- this is not really
deleting physical resources and so nothing really to do.
|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability()
Return availability of this resource
|
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
Gather measurement data
|
void |
start(ResourceContext<TwitterComponent> context)
Start the resource connection
|
void |
stop()
Tear down the rescource connection
|
public static final String TOPIC_EVENT
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetAvailabilityFacet.getAvailability()public void start(ResourceContext<TwitterComponent> context) throws InvalidPluginConfigurationException, Exception
start in interface ResourceComponent<TwitterComponent>InvalidPluginConfigurationExceptionExceptionResourceComponent.start(org.rhq.core.pluginapi.inventory.ResourceContext)public void stop()
stop in interface ResourceComponent<TwitterComponent>ResourceComponent.stop()public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionMeasurementFacet.getValues(org.rhq.core.domain.measurement.MeasurementReport, java.util.Set)public void deleteResource()
throws Exception
deleteResource in interface DeleteResourceFacetExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.