public class SerializableDatasourceMeta extends java.lang.Object implements DatasourceMeta, java.io.Serializable
| Constructor and Description |
|---|
SerializableDatasourceMeta(DatasourceMeta copy) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveConnections()
Returns the current number of connections in use
|
java.util.List<ActiveQuery> |
getActiveQueries()
A snapshot of the currently executing queries for this datasource
|
java.lang.String |
getDescription() |
DatasourceStatus |
getExtendedStatus()
Returns the "best" status of this datasource or of any failover datasources.
|
DatasourceFailoverMode |
getFailoverMode()
Returns the behavioral failover mode for this datasource
|
int |
getMaxConnections()
Returns the maximum number of connections the underlying pool is configured to use.
|
java.lang.String |
getName() |
java.lang.String |
getProblemDescription()
A string describing the current problem, if the status is not good
|
StatMetric |
getStatistics()
A StatMetric that tracks the overall query throughput for this datasource
|
DatasourceStatus |
getStatus()
Returns the Status of this datasource based on its last tested condition
|
java.lang.String |
getValidationQuery()
Returns a SQL query that will be used to validate the status of this datasource.
|
DatabaseVendor |
getVendor() |
public SerializableDatasourceMeta(DatasourceMeta copy)
public java.lang.String getName()
getName in interface DatasourceMetapublic java.lang.String getDescription()
getDescription in interface DatasourceMetapublic java.lang.String getProblemDescription()
DatasourceMetagetProblemDescription in interface DatasourceMetapublic java.lang.String getValidationQuery()
DatasourceMetagetValidationQuery in interface DatasourceMetapublic int getActiveConnections()
DatasourceMetagetActiveConnections in interface DatasourceMetapublic int getMaxConnections()
DatasourceMetagetMaxConnections in interface DatasourceMetapublic DatasourceStatus getStatus()
DatasourceMetagetStatus in interface DatasourceMetapublic DatasourceStatus getExtendedStatus()
DatasourceMetagetExtendedStatus in interface DatasourceMetapublic DatasourceFailoverMode getFailoverMode()
DatasourceMetagetFailoverMode in interface DatasourceMetapublic StatMetric getStatistics()
DatasourceMetagetStatistics in interface DatasourceMetapublic DatabaseVendor getVendor()
getVendor in interface DatasourceMetapublic java.util.List<ActiveQuery> getActiveQueries()
DatasourceMetagetActiveQueries in interface DatasourceMeta