public class MySqlComponent extends Object implements DatabaseComponent<ResourceComponent<?>>, ConnectionPoolingSupport, ResourceComponent<ResourceComponent<?>>, MeasurementFacet
| Constructor and Description |
|---|
MySqlComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
Connection |
getConnection() |
PooledConnectionProvider |
getPooledConnectionProvider() |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics) |
void |
removeConnection() |
void |
start(ResourceContext resourceContext) |
void |
stop() |
boolean |
supportsConnectionPooling() |
public void start(ResourceContext resourceContext) throws InvalidPluginConfigurationException, Exception
start in interface ResourceComponent<ResourceComponent<?>>InvalidPluginConfigurationExceptionExceptionpublic void stop()
stop in interface ResourceComponent<ResourceComponent<?>>public boolean supportsConnectionPooling()
supportsConnectionPooling in interface ConnectionPoolingSupportpublic PooledConnectionProvider getPooledConnectionProvider()
getPooledConnectionProvider in interface ConnectionPoolingSupportpublic org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetpublic void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionpublic Connection getConnection()
getConnection in interface DatabaseComponent<ResourceComponent<?>>public void removeConnection()
removeConnection in interface DatabaseComponent<ResourceComponent<?>>Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.