Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for finalizeCacheEntry (0.32 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheAwareFinishExecutor.kt

        private val cache: BuildTreeConfigurationCache
    ) : BuildTreeFinishExecutor {
        override fun finishBuildTree(failures: List<Throwable>): RuntimeException? {
            cache.finalizeCacheEntry()
            return delegate.finishBuildTree(failures)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheAwareBuildTreeWorkController.kt

                } else {
                    workExecutor.execute(result.graph)
                }
            }
            if (executionResult != null) {
                return executionResult
            }
    
            cache.finalizeCacheEntry()
            buildRegistry.visitBuilds { build ->
                build.beforeModelReset().rethrow()
            }
            buildRegistry.visitBuilds { build ->
                build.resetModel()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

        /**
         * Flushes any remaining state to the cache and closes any resources
         */
        fun finalizeCacheEntry()
    
        // This is a temporary property to allow migration from a root build scoped cache to a build tree scoped cache
        val isLoaded: Boolean
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            // When the value is loaded from the store, the dependency information is lost.
            return projectMetadata.loadOrCreateOriginalValue(identityPath, creator)
        }
    
        override fun finalizeCacheEntry() {
            if (problems.shouldDiscardEntry) {
                store.useForStore { layout ->
                    layout.fileFor(StateType.Entry).delete()
                }
                cacheEntryRequiresCommit = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top