# cache

An object containing various cache settings.

Parameter | Type | Description
--- | --- | ---
diskPersistent | string | A string of data that determines whether the disk store persists between restarts of the Virtual Machine. The default value is false
eternal | string | A string of data that determines whether elements are eternal. If eternal, timeouts are ignored and the element is never expired
maxElementsInMemory | string | A string of data that determines the maximum number of objects that will be created in memory.
name | string | A string of data specifying the cache name.
overflowToDisk | string | A string of data that determines whether elements can overflow to disk when the in-memory cache has reached the maxInMemory limit