Interface DataStoreOperationStartMonitor


public interface DataStoreOperationStartMonitor
An instance of this callback interface can be set on to a DataStoreConnection to intercept starting of operations on the data store connection. The callback is called atomically as part of the operation. By throwing an exception, it is possible to block the operation; any thrown exceptions are simply reported back to the operation caller.
  • Method Summary

    Modifier and Type Method Description
    void dataStoreOperationStarted​(long dataStoreVersionOnTransactionStart)
    Called whenever an operation on a data store connection is performed.
  • Method Details

    • dataStoreOperationStarted

      void dataStoreOperationStarted​(long dataStoreVersionOnTransactionStart) throws JRDFoxException
      Called whenever an operation on a data store connection is performed.
      Parameters:
      dataStoreVersionOnTransactionStart - the version that the data store was in when the transaction containing the operation started
      Throws:
      JRDFoxException - thrown if there is an error