|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseConfigService
Service providing database connection factory and configuration information for use with historical data polling.
Method Summary | |
---|---|
ConnectionCache |
getConnectionCache(String databaseName,
String preparedStatementText)
Returns true to indicate a setting to retain connections between lookups. |
DatabaseConnectionFactory |
getConnectionFactory(String databaseName)
Returns a connection factory for a configured database. |
DataCache |
getDataCache(String databaseName,
EPStatementHandle epStatementHandle)
Returns a new cache implementation for this database. |
ColumnSettings |
getQuerySetting(String databaseName)
Returns the column metadata settings for the database. |
Method Detail |
---|
DatabaseConnectionFactory getConnectionFactory(String databaseName) throws DatabaseConfigException
databaseName
- is the name of the database
DatabaseConfigException
- is thrown to indicate database configuration errorsColumnSettings getQuerySetting(String databaseName) throws DatabaseConfigException
databaseName
- is the database name
DatabaseConfigException
- if the name was not configuredConnectionCache getConnectionCache(String databaseName, String preparedStatementText) throws DatabaseConfigException
databaseName
- is the name of the databasepreparedStatementText
- is the sql text
DatabaseConfigException
- is thrown to indicate database configuration errorsDataCache getDataCache(String databaseName, EPStatementHandle epStatementHandle) throws DatabaseConfigException
databaseName
- is the name of the database to return a new cache implementation for forepStatementHandle
- is the statements-own handle for use in registering callbacks with services
DatabaseConfigException
- is thrown to indicate database configuration errors
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |