maxEntries property

int maxEntries
getter/setter pair

Hard cap on simultaneously-cached entries. When the cap is reached on a new-key insert, the oldest entries (insertion-order) are evicted to make room.

Implementation

static int maxEntries = 256;