Class NonRevertingEagerExecutionMode

    • Constructor Detail

      • NonRevertingEagerExecutionMode

        protected NonRevertingEagerExecutionMode()
    • Method Detail

      • useEagerContextReverting

        public boolean useEagerContextReverting()
        Description copied from interface: ExecutionMode
        This will determine if the entire context can be reverted or if only the current scope can get reverted. A snapshot of the context is created so it is expensive to do so with the entire context, but less expensive to only do that with the current scope
        Specified by:
        useEagerContextReverting in interface ExecutionMode
        Overrides:
        useEagerContextReverting in class EagerExecutionMode
        Returns:
        whether the entire context (true) or just the current scope (false) will have a snapshot created to allow reverting of modified values in deferred execution mode.