Interface DatasourceMeta
- 
- All Known Subinterfaces:
- Datasource
 - All Known Implementing Classes:
- SerializableDatasourceMeta
 
 public interface DatasourceMetaDescribes an Ignition datasource, including its current status, query workload, etc.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveConnections()Returns the current number of connections in usejava.util.List<ActiveQuery>getActiveQueries()A snapshot of the currently executing queries for this datasourcejava.lang.StringgetDescription()DatasourceStatusgetExtendedStatus()Returns the "best" status of this datasource or of any failover datasources.DatasourceFailoverModegetFailoverMode()Returns the behavioral failover mode for this datasourceintgetMaxConnections()Returns the maximum number of connections the underlying pool is configured to use.java.lang.StringgetName()java.lang.StringgetProblemDescription()A string describing the current problem, if the status is not goodStatMetricgetStatistics()A StatMetric that tracks the overall query throughput for this datasourceDatasourceStatusgetStatus()Returns the Status of this datasource based on its last tested conditionjava.lang.StringgetValidationQuery()Returns a SQL query that will be used to validate the status of this datasource.DatabaseVendorgetVendor()
 
- 
- 
- 
Method Detail- 
getNamejava.lang.String getName() - Returns:
- the name of this datasource
 
 - 
getDescriptionjava.lang.String getDescription() - Returns:
- the description for this datasource
 
 - 
getVendorDatabaseVendor getVendor() - Returns:
- the database type that this connection's driver is connecting to
 
 - 
getStatusDatasourceStatus getStatus() Returns the Status of this datasource based on its last tested condition
 - 
getProblemDescriptionjava.lang.String getProblemDescription() A string describing the current problem, if the status is not good
 - 
getExtendedStatusDatasourceStatus getExtendedStatus() Returns the "best" status of this datasource or of any failover datasources. This is a better indicator of whether or not getConnection() will succeed
 - 
getFailoverModeDatasourceFailoverMode getFailoverMode() Returns the behavioral failover mode for this datasource
 - 
getStatisticsStatMetric getStatistics() A StatMetric that tracks the overall query throughput for this datasource
 - 
getMaxConnectionsint getMaxConnections() Returns the maximum number of connections the underlying pool is configured to use.
 - 
getActiveConnectionsint getActiveConnections() Returns the current number of connections in use
 - 
getValidationQueryjava.lang.String getValidationQuery() Returns a SQL query that will be used to validate the status of this datasource. This query should always return at least 1 row.
 - 
getActiveQueriesjava.util.List<ActiveQuery> getActiveQueries() A snapshot of the currently executing queries for this datasource
 
- 
 
-