TrimmableNormalizedCacheFactory

Experimental database that supports trimming at startup

There are no backward compatibilities, DO NOT ship in a production app

Parameters

url

Database connection URL in the form of jdbc:sqlite:path where path is either blank

maxSize

if the size of the database is bigger than maxSize (in bytes), it will be trimmed

trimFactor

the amount of trimming to do

Functions

Link copied to clipboard
open override fun create(): NormalizedCache