org.rhq.plugins.mysql
Class MySqlComponent
java.lang.Object
org.rhq.plugins.mysql.MySqlComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent, MeasurementFacet, DatabaseComponent
public class MySqlComponent
- extends Object
- implements DatabaseComponent, ResourceComponent, MeasurementFacet
- Author:
- Greg Hinkle, Steve Millidge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlComponent
public MySqlComponent()
start
public void start(ResourceContext resourceContext)
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
getConnection
public Connection getConnection()
- Specified by:
getConnection in interface DatabaseComponent
removeConnection
public void removeConnection()
- Specified by:
removeConnection in interface DatabaseComponent
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.