Class CountingDataSource
java.lang.Object
com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource
com.inductiveautomation.ignition.gateway.localdb.CountingDataSource
- All Implemented Interfaces:
- Wrapper,- CommonDataSource,- DataSource
A delegating DataSource that maintains a count of all update-style queries that go through it.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSourceDelegatingDataSource.DelegatingConnection
- 
Field SummaryFields inherited from class com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSourcedelegateDatasource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionProvides access to the underlying datasource for operations that shouldn't increment the countlongprotected Connectionwrap(Connection con) Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSourcegetConnection, getConnection, getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSourcecreateShardingKeyBuilderMethods inherited from interface javax.sql.DataSourcecreateConnectionBuilder
- 
Constructor Details- 
CountingDataSource
 
- 
- 
Method Details- 
wrap- Overrides:
- wrapin class- DelegatingDataSource
 
- 
getDelegateDatasourceProvides access to the underlying datasource for operations that shouldn't increment the count
- 
getUpdateCountpublic long getUpdateCount()
 
-