maxEntries --> maxKeysInMemory.
Also maxEntries <= 0 is an unbounded store, it's worth documenting that