public interface DatasourceMeta
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() |
java.lang.String getName()
java.lang.String getDescription()
DatabaseVendor getVendor()
DatasourceStatus getStatus()
java.lang.String getProblemDescription()
DatasourceStatus getExtendedStatus()
DatasourceFailoverMode getFailoverMode()
StatMetric getStatistics()
int getMaxConnections()
int getActiveConnections()
java.lang.String getValidationQuery()
java.util.List<ActiveQuery> getActiveQueries()