api / org.gradle.caching / MapBasedBuildCacheService

MapBasedBuildCacheService

@Incubating open class MapBasedBuildCacheService : BuildCacheService

Simple build cache implementation that delegates to a ConcurrentMap.

Since
3.5

Constructors

<init>

MapBasedBuildCacheService(delegate: ConcurrentMap<String, ByteArray>)

Functions

close

open fun close(): Unit

load

open fun load(key: BuildCacheKey, reader: BuildCacheEntryReader): Boolean

store

open fun store(key: BuildCacheKey, output: BuildCacheEntryWriter): Unit