Interface OperationContext

    • Method Detail

      • executeOnCompletion

        void executeOnCompletion​(IOCallback runnable,
                                 boolean storeOnly)
        Execute the task when all IO operations are complete, Or execute it immediately if nothing is pending.
        Parameters:
        runnable - the tas to be executed.
        storeOnly - There are tasks that won't need to wait on replication or paging and will need to be completed as soon as the response from the journal is received. An example would be the DuplicateCache
      • executeOnCompletion

        void executeOnCompletion​(IOCallback runnable)
        Execute the task when all IO operations are complete, Or execute it immediately if nothing is pending.
        Parameters:
        runnable - the tas to be executed.
      • replicationLineUp

        void replicationLineUp()
      • replicationDone

        void replicationDone()
      • pageSyncLineUp

        void pageSyncLineUp()
      • pageSyncDone

        void pageSyncDone()
      • waitCompletion

        boolean waitCompletion​(long timeout)
                        throws Exception
        Parameters:
        timeout - in milliseconds
        Returns:
        Throws:
        Exception