Class SerializableDatasourceMeta
java.lang.Object
com.inductiveautomation.ignition.common.datasource.SerializableDatasourceMeta
- All Implemented Interfaces:
- DatasourceMeta,- Serializable
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the current number of connections in useA snapshot of the currently executing queries for this datasourceReturns the "best" status of this datasource or of any failover datasources.Returns the behavioral failover mode for this datasourceintReturns the maximum number of connections the underlying pool is configured to use.getName()A string describing the current problem, if the status is not goodA StatMetric that tracks the overall query throughput for this datasourceReturns the Status of this datasource based on its last tested conditionReturns a SQL query that will be used to validate the status of this datasource.
- 
Constructor Details- 
SerializableDatasourceMeta
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- DatasourceMeta
- Returns:
- the name of this datasource
 
- 
getDescription- Specified by:
- getDescriptionin interface- DatasourceMeta
- Returns:
- the description for this datasource
 
- 
getProblemDescriptionDescription copied from interface:DatasourceMetaA string describing the current problem, if the status is not good- Specified by:
- getProblemDescriptionin interface- DatasourceMeta
 
- 
getValidationQueryDescription copied from interface:DatasourceMetaReturns a SQL query that will be used to validate the status of this datasource. This query should always return at least 1 row.- Specified by:
- getValidationQueryin interface- DatasourceMeta
 
- 
getActiveConnectionspublic int getActiveConnections()Description copied from interface:DatasourceMetaReturns the current number of connections in use- Specified by:
- getActiveConnectionsin interface- DatasourceMeta
 
- 
getMaxConnectionspublic int getMaxConnections()Description copied from interface:DatasourceMetaReturns the maximum number of connections the underlying pool is configured to use.- Specified by:
- getMaxConnectionsin interface- DatasourceMeta
 
- 
getStatusDescription copied from interface:DatasourceMetaReturns the Status of this datasource based on its last tested condition- Specified by:
- getStatusin interface- DatasourceMeta
 
- 
getExtendedStatusDescription copied from interface:DatasourceMetaReturns the "best" status of this datasource or of any failover datasources. This is a better indicator of whether or not getConnection() will succeed- Specified by:
- getExtendedStatusin interface- DatasourceMeta
 
- 
getFailoverModeDescription copied from interface:DatasourceMetaReturns the behavioral failover mode for this datasource- Specified by:
- getFailoverModein interface- DatasourceMeta
 
- 
getStatisticsDescription copied from interface:DatasourceMetaA StatMetric that tracks the overall query throughput for this datasource- Specified by:
- getStatisticsin interface- DatasourceMeta
 
- 
getVendor- Specified by:
- getVendorin interface- DatasourceMeta
- Returns:
- the database type that this connection's driver is connecting to
 
- 
getActiveQueriesDescription copied from interface:DatasourceMetaA snapshot of the currently executing queries for this datasource- Specified by:
- getActiveQueriesin interface- DatasourceMeta
 
 
-