# MapBasedBuildCacheService

open class MapBasedBuildCacheService : BuildCacheService(source)

Simple build cache implementation that delegates to a ConcurrentMap.

#### Since

3.5

## Constructors

MapBasedBuildCacheService
Link copied to clipboard
constructor(delegate: ConcurrentMap<String, Array<Byte>>)

## Functions

close
Link copied to clipboard
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
open fun load(key: BuildCacheKey, reader: BuildCacheEntryReader): Boolean
Load the cached entry corresponding to the given cache key.
store
Link copied to clipboard
open fun store(key: BuildCacheKey, output: BuildCacheEntryWriter)
Store the cache entry with the given cache key.