location - a location on disk where the store can write internal files. This
defaults to Infinispan-SingleFileCacheStore in the current working directory.
maxEntries - maximum number of entries allowed in the cache store.
If more entries are added, the least recently used (LRU) entry is removed.
Since this cache store's space requirements are split between memory and
filesystem, setting a limit to the size of the cache store primarily helps avoid
OutOfMemoryExceptions due to memory consumption part of this cache store.
However, this limit results in removing entries from the cache store and hence
should only be set in situations where the cache store contents can be
regenerated, in other words, when Infinispan is used as a cache, as opposed to
an authoritative data store.