compactionPercentage property

double compactionPercentage
final

Gets or sets the amount to compact the cache by when the maximum size is exceeded.

The value should be between 0.0 and 1.0, representing a percentage. For example, 0.05 means 5% of entries will be removed.

Defaults to 0.05 (5%).

Implementation

final double compactionPercentage;