public interface DatabaseConfigServiceRuntime extends DatabaseConfigService
Modifier and Type | Method and Description |
---|---|
ConnectionCache |
getConnectionCache(String databaseName,
String preparedStatementText) |
HistoricalDataCache |
getDataCache(String databaseName,
AgentInstanceContext agentInstanceContext,
int streamNumber,
int scheduleCallbackId)
Returns a new cache implementation for this database.
|
getConnectionFactory
HistoricalDataCache getDataCache(String databaseName, AgentInstanceContext agentInstanceContext, int streamNumber, int scheduleCallbackId) throws DatabaseConfigException
databaseName
- is the name of the database to return a new cache implementation for foragentInstanceContext
- agent instance contextstreamNumber
- stream numberscheduleCallbackId
- callback idDatabaseConfigException
- is thrown to indicate database configuration errorsConnectionCache getConnectionCache(String databaseName, String preparedStatementText) throws DatabaseConfigException
DatabaseConfigException
Copyright © 2005–2018. All rights reserved.