setSizeMultiplier

abstract fun setSizeMultiplier(multiplier: Float)

Adjust the maximum size of the cache by multiplying the original size of the cache by the given multiplier.

If the size multiplier causes the size of the cache to be decreased, items will be evicted until the cache is smaller than the new size.

Parameters

multiplier

A size multiplier >= 0.