public class JDBCPoolSQLConfig extends SQLConfig
Constructor and Description |
---|
JDBCPoolSQLConfig(DataService dataService,
String configId,
String type,
Map<String,String> properties,
boolean odataEnable) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ODataDataHandler |
createODataHandler() |
int |
getActiveConnectionCount() |
org.apache.tomcat.jdbc.pool.DataSource |
getDataSource() |
int |
getIdleConnectionCount() |
boolean |
isStatsAvailable() |
createConnection, createConnection, getAutoCommit, getPrimaryDynAuth, getSecondaryDynAuth, getValidationQuery, hasJDBCBatchUpdateSupport, initSQLDataSource, isActive, isResultSetFieldsCaseSensitive
getConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toString
public JDBCPoolSQLConfig(DataService dataService, String configId, String type, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFault
public org.apache.tomcat.jdbc.pool.DataSource getDataSource() throws DataServiceFault
getDataSource
in class SQLConfig
DataServiceFault
public boolean isStatsAvailable()
isStatsAvailable
in class SQLConfig
public int getActiveConnectionCount() throws DataServiceFault
getActiveConnectionCount
in class SQLConfig
DataServiceFault
public int getIdleConnectionCount() throws DataServiceFault
getIdleConnectionCount
in class SQLConfig
DataServiceFault
public ODataDataHandler createODataHandler() throws DataServiceFault
createODataHandler
in class Config
DataServiceFault
Copyright © 2019 WSO2. All rights reserved.