defaultCache

An object containing defaultCache information.

ParameterTypeDescription
diskExpiryThreadIntervalSecondsstringThe number of seconds between runs of the disk expiry thread. The default value is 120 seconds
diskPersistentstringA string of data that determines whether the disk store persists between restarts of the Virtual Machine. The default value is false
eternalstringSets whether elements are eternal. If eternal, timeouts are ignored and the element is never expired
maxElementsInMemorystringA string of data that sets the maximum number of objects that will be created in memory
overflowToDiskstringA string of data that determines whether elements can overflow to disk when the in-memory cache has reached the maxInMemory limit
timeToIdleSecondsstringA string of data that sets the time to idle for an element before it expires; i.e. The maximum amount of time between accesses before an element expires Is only used if the element is not eternal. Optional attribute. A value of 0 means that an Element can idle for infinity. The default value is 0
timeToLiveSecondsstringA string of data that sets the time to live for an element before it expires; i.e. The maximum time between creation time and when an element expires. Is only used if the element is not eternal. Optional attribute. A value of 0 means that and Element can live for infinity. The default value is 0