Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for useForStore (0.11 sec)

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

         */
        fun <T : Any> useForStateLoad(stateType: StateType, action: (ConfigurationCacheStateFile) -> T): T
    
        /**
         * Writes some value to zero or more state files.
         */
        fun <T> useForStore(action: (ConfigurationCacheRepository.Layout) -> T): T
    
        /**
         * Creates a new [ValueStore] that can be used to load and store multiple values.
         */
        fun <T> createValueStore(
            stateType: StateType,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

                return withExclusiveAccessToCache(baseDir) { cacheDir ->
                    action(ReadableLayout(cacheDir))
                }
            }
    
            override fun <T> useForStore(action: (Layout) -> T): T =
                withExclusiveAccessToCache(baseDir) { cacheDir ->
                    // TODO GlobalCache require(!cacheDir.isDirectory)
                    Files.createDirectories(cacheDir.toPath())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top