Interface OLiveQueryBatchResultListener

All Superinterfaces:
OLiveQueryResultListener

public interface OLiveQueryBatchResultListener extends OLiveQueryResultListener
Designed to allow live query result listeners to be optimised for batch elaboration. The normal mechanics of the OLiveQueryResultListener is preserved; In addition, at the end of a logical batch of invocations to on*() methods, onBatchEnd() is invoked.
  • Method Details

    • onBatchEnd

      void onBatchEnd(ODatabaseDocument database)
      invoked at the end of a logical batch of live query events
      Parameters:
      database - the instance of the active datatabase connection where the live query operation is being performed