Description

Generic cache with eviction support.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
cache-enabledVALUEBooleantrueIf the cacheEnabled is set to false, no caching will be done
cache-evict-delay-millisVALUELong60000Delay from the creation of the cache to first eviction
cache-evict-period-millisVALUELong300000How often to evict records
cache-overall-timeout-millisVALUELong3600000Configure record timeout since its creation
cache-timeout-millisVALUELong3600000Configure record timeout since last access
evictor-classVALUEClass Configure evictor to check if a record is still valid
max-sizeVALUELong100000Configure maximal cache size
parallelism-thresholdVALUELong10000Configure parallelism threshold

See the manifest for all available types.