Class OperationMonitor

java.lang.Object
org.firebirdsql.gds.ng.OperationMonitor

public final class OperationMonitor extends Object
The statement operation monitor allows monitoring of statement execution and fetching of all statements.
Since:
4.0
Author:
Vasiliy Yashkov, Mark Rotteveel
  • Method Details

    • initOperationAware

      public static void initOperationAware(OperationAware operationAware)
      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 the OperationAware interface, or null 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"