Interface DatabaseConfigServiceRuntime
- All Superinterfaces:
DatabaseConfigService
- All Known Implementing Classes:
DatabaseConfigServiceImpl
Service providing database connection factory and configuration information
for use with historical data polling.
-
Method Summary
Modifier and TypeMethodDescriptiongetConnectionCache
(String databaseName, String preparedStatementText) getDataCache
(String databaseName, AgentInstanceContext agentInstanceContext, int streamNumber, int scheduleCallbackId) Returns a new cache implementation for this database.Methods inherited from interface com.espertech.esper.common.internal.epl.historical.database.connection.DatabaseConfigService
getConnectionFactory
-
Method Details
-
getDataCache
HistoricalDataCache getDataCache(String databaseName, AgentInstanceContext agentInstanceContext, int streamNumber, int scheduleCallbackId) throws DatabaseConfigException Returns a new cache implementation for this database.- Parameters:
databaseName
- is the name of the database to return a new cache implementation for foragentInstanceContext
- agent instance contextstreamNumber
- stream numberscheduleCallbackId
- callback id- Returns:
- cache implementation
- Throws:
DatabaseConfigException
- is thrown to indicate database configuration errors
-
getConnectionCache
ConnectionCache getConnectionCache(String databaseName, String preparedStatementText) throws DatabaseConfigException - Throws:
DatabaseConfigException
-