resize

abstract fun resize(size: Int)

Resizes the max cache size to the given size. If the new size is smaller than the current cache size, then old entries will be evicted to make space.

Negative values will be treated as an unbounded replay cache.

Parameters

size

the new max size of the replay cache