org.rhq.plugins.perftest
Class PerfTestComponent
java.lang.Object
org.rhq.plugins.perftest.PerfTestComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ConfigurationFacetSupport, ContentFacet, ResourceComponent, MeasurementFacet, OperationFacet
public class PerfTestComponent
- extends Object
- implements ResourceComponent, MeasurementFacet, ContentFacet, ConfigurationFacet, OperationFacet
JON resource component for handling resources defined in the performance test scenario.
- Author:
- Jason Dobies
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerfTestComponent
public PerfTestComponent()
start
public void start(ResourceContext context)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
start in interface ResourceComponent
- Throws:
InvalidPluginConfigurationException
Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
getValues
public void getValues(MeasurementReport report,
Set<MeasurementScheduleRequest> metrics)
throws Exception
- Specified by:
getValues in interface MeasurementFacet
- Throws:
Exception
installPackages
public void installPackages(Set<InstalledPackage> packages,
ContentServices contentServices)
retrievePackageBits
public InputStream retrievePackageBits(InstalledPackage pkg)
generateInstallationSteps
public List<DeployPackageStep> generateInstallationSteps(ResourcePackageDetails packageDetails)
- Specified by:
generateInstallationSteps in interface ContentFacet
deployPackages
public DeployPackagesResponse deployPackages(Set<ResourcePackageDetails> packages,
ContentServices contentServices)
- Specified by:
deployPackages in interface ContentFacet
removePackages
public RemovePackagesResponse removePackages(Set<ResourcePackageDetails> packages)
- Specified by:
removePackages in interface ContentFacet
discoverDeployedPackages
public Set<ResourcePackageDetails> discoverDeployedPackages(PackageType type)
- Specified by:
discoverDeployedPackages in interface ContentFacet
retrievePackageBits
public InputStream retrievePackageBits(ResourcePackageDetails packageDetails)
- Specified by:
retrievePackageBits in interface ContentFacet
invokeOperation
public OperationResult invokeOperation(String name,
Configuration parameters)
throws InterruptedException,
Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
InterruptedException
Exception
loadResourceConfiguration
public Configuration loadResourceConfiguration()
throws Exception
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet
- Throws:
Exception
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.