java.lang.Object
org.firebirdsql.gds.ng.OperationMonitor
The statement operation monitor allows monitoring of statement execution and fetching of all statements.
- Since:
- 4.0
- Author:
- Vasiliy Yashkov, Mark Rotteveel
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
initOperationAware
(OperationAware operationAware) Initializes this operation monitor.
-
Method Details
-
initOperationAware
Initializes this operation monitor.The provided
OperationAware
instance will be notified of operations occurring in the driver.When a security manager is installed, the existence of the
SQLPermission
with name"org.firebirdsql.jaybird.initOperationAware"
will be checked.- Parameters:
operationAware
- an object that implements theOperationAware
interface, ornull
to clear the current instance- Throws:
SecurityException
- If a security manager is installed and the calling code does not have permission"org.firebirdsql.jaybird.initOperationAware"
-