Interface IAdvancedEpochManager

    • Method Detail

      • onCommit

        void onCommit​(IEpoch epoch)
        Notifies the epoch manager that a new epoch has been committed.

        This method should NOT call IVersionHistory.onCommit(IEpoch) as the commit may not affect all the histories.

        Parameters:
        epoch - the epoch of the commit
      • isStarted

        boolean isStarted()
        Indicates whether this epoch manager has been started or not.
        Returns:
        true if this epoch manager has been started, false otherwise
      • stop

        void stop()
        Stops the thread started by start().
      • getRootHistory

        IVersionHistory<?> getRootHistory()
        Description copied from interface: IEpochManager
        Gets the root history. The root history is the single history whose versions are followed by other histories.
        Specified by:
        getRootHistory in interface IEpochManager
        Returns:
        the root history