Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ensureLegacySnapshottingInputsClosed (0.48 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/legacy/MarkSnapshottingInputsStartedStep.java

        public R execute(UnitOfWork work, C context) {
            work.markLegacySnapshottingInputsStarted();
            try {
                return delegate.execute(work, context);
            } finally {
                work.ensureLegacySnapshottingInputsClosed();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void ensureLegacySnapshottingInputsClosed() {}
    
        /**
         * Returns a type origin inspector, which is used for diagnostics (e.g error messages) to provide
         * more context about the origin of types (for example in what plugin a type is defined)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

                .ifPresent(operation -> operation.setResult(new SnapshotTaskInputsBuildOperationResult(cachingState, context.getTaskProperties().getInputFileProperties())));
        }
    
        @Override
        public void ensureLegacySnapshottingInputsClosed() {
            // If the operation hasn't finished normally (because of a shortcut or an error), we close it without a cache key
            context.removeSnapshotTaskInputsBuildOperationContext()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top