gradle
Toggle table of contents
9.6.0-20260414005124+0000
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.caching
/
MapBasedBuildCacheService
Map
Based
Build
Cache
Service
API
open
class
MapBasedBuildCacheService
:
BuildCacheService
(
source
)
Simple build cache implementation that delegates to a
ConcurrentMap
.
Since
3.5
Members
Constructors
Map
Based
Build
Cache
Service
Link copied to clipboard
API
constructor
(
delegate
:
ConcurrentMap
<
String
,
Array
<
Byte
>
>
)
Functions
close
Link copied to clipboard
API
abstract
fun
close
(
)
open
fun
close
(
)
Clean up any resources held by the cache once it's not used anymore.
load
Link copied to clipboard
API
open
fun
load
(
key
:
BuildCacheKey
,
reader
:
BuildCacheEntryReader
)
:
Boolean
Load the cached entry corresponding to the given cache key.
store
Link copied to clipboard
API
open
fun
store
(
key
:
BuildCacheKey
,
output
:
BuildCacheEntryWriter
)
Store the cache entry with the given cache key.