Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for getOriginMetadata (0.25 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionOutputState.java

        }
    
        @Override
        public ImmutableSortedMap<String, FileSystemSnapshot> getOutputFilesProducedByWork() {
            return outputFilesProducedByWork;
        }
    
        @Override
        public OriginMetadata getOriginMetadata() {
            return originMetadata;
        }
    
        @Override
        public boolean isReused() {
            return reused;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/CacheManifest.java

            this.originMetadata = originMetadata;
            this.workType = workType;
            this.identity = identity;
            this.propertyManifests = propertyManifests;
        }
    
        public OriginMetadata getOriginMetadata() {
            return originMetadata;
        }
    
        public String getWorkType() {
            return workType;
        }
    
        public String getIdentity() {
            return identity;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionHistoryStore.java

        }
    
        @Override
        public void store(String key, AfterExecutionState executionState) {
            store.put(key, new DefaultPreviousExecutionState(
                executionState.getOriginMetadata(),
                executionState.getCacheKey(),
                executionState.getImplementation(),
                executionState.getAdditionalImplementations(),
                executionState.getInputProperties(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:09:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/UpToDateResult.java

            this.executionReasons = executionReasons;
            this.reusedOutputOriginMetadata = parent.getAfterExecutionOutputState()
                .filter(ExecutionOutputState::isReused)
                .map(ExecutionOutputState::getOriginMetadata)
                .orElse(null);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/testFixtures/groovy/org/gradle/internal/execution/TestExecutionHistoryStore.java

        }
    
        @Override
        public void store(String key, AfterExecutionState executionState) {
            executionHistory.put(key, new DefaultPreviousExecutionState(
                executionState.getOriginMetadata(),
                executionState.getCacheKey(),
                executionState.getImplementation(),
                executionState.getAdditionalImplementations(),
                executionState.getInputProperties(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:09:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

                                work.getDisplayName(), cacheKey.getHashCode());
                        }
                        cleanLocalState(context.getWorkspace(), work);
                        OriginMetadata originMetadata = cacheHit.getOriginMetadata();
                        Try<Execution> execution = Try.successful(Execution.skipped(FROM_CACHE, work));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipUpToDateStepTest.groovy

            _ * context.rebuildReasons >> ImmutableList.of()
            _ * context.previousExecutionState >> Optional.of(Stub(PreviousExecutionState) {
                getOutputFilesProducedByWork() >> ImmutableSortedMap.of()
                getOriginMetadata() >> delegateOriginMetadata
            })
            0 * _
        }
    
        def "executes when outputs are not up to date"() {
            def delegateOutcome = Try.successful(Mock(Execution))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStore.java

            //noinspection IOStreamConstructor
            try (KryoBackedEncoder encoder = new KryoBackedEncoder(new FileOutputStream(metadataFile))) {
                originMetadataSerializer.write(encoder, metadata.getOriginMetadata());
    
                ImmutableListMultimap<String, HashCode> outputPropertyHashes = metadata.getOutputPropertyHashes();
                encoder.writeSmallInt(outputPropertyHashes.keySet().size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 14:27:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java

                        return unpackResult.getEntries();
                    }
                    @Override
                    public OriginMetadata getOriginMetadata() {
                        return unpackResult.getOriginMetadata();
                    }
                    @Override
                    public ImmutableSortedMap<String, FileSystemSnapshot> getResultingSnapshots() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy

        def fileSystemAccess = TestFiles.fileSystemAccess()
        def immutableWorkspaceMetadataStore = Stub(ImmutableWorkspaceMetadataStore) {
            loadWorkspaceMetadata(_ as File) >> Stub(ImmutableWorkspaceMetadata) {
                getOriginMetadata() >> Stub(OriginMetadata)
                getOutputPropertyHashes() >> ImmutableListMultimap.of()
            }
        }
        def outputSnapshotter = new DefaultOutputSnapshotter(TestFiles.fileCollectionSnapshotter())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:25 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top