|
||||||||||
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(java.lang.String databaseName,
java.lang.String preparedStatementText)
Returns true to indicate a setting to retain connections between lookups. |
DatabaseConnectionFactory |
getConnectionFactory(java.lang.String databaseName)
Returns a connection factory for a configured database. |
DataCache |
getDataCache(java.lang.String databaseName,
EPStatementAgentInstanceHandle epStatementAgentInstanceHandle)
Returns a new cache implementation for this database. |
ColumnSettings |
getQuerySetting(java.lang.String databaseName)
Returns the column metadata settings for the database. |
Method Detail |
---|
DatabaseConnectionFactory getConnectionFactory(java.lang.String databaseName) throws DatabaseConfigException
databaseName
- is the name of the database
DatabaseConfigException
- is thrown to indicate database configuration errorsColumnSettings getQuerySetting(java.lang.String databaseName) throws DatabaseConfigException
databaseName
- is the database name
DatabaseConfigException
- if the name was not configuredConnectionCache getConnectionCache(java.lang.String databaseName, java.lang.String preparedStatementText) throws DatabaseConfigException
databaseName
- is the name of the databasepreparedStatementText
- is the sql text
DatabaseConfigException
- is thrown to indicate database configuration errorsDataCache getDataCache(java.lang.String databaseName, EPStatementAgentInstanceHandle epStatementAgentInstanceHandle) throws DatabaseConfigException
databaseName
- is the name of the database to return a new cache implementation for forepStatementAgentInstanceHandle
- is the statements-own handle for use in registering callbacks with services
DatabaseConfigException
- is thrown to indicate database configuration errors
|
© 2006-2015 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 |