Local Disk Store
You can optionally associate a local disk store with a cache. A local disk store is a designated directory to which Integration Server writes objects that are placed in cache. You can configure a cache to use a local disk store in one of two ways:
You can use it to extend the on-heap cache so that cached objects overflow to the local disk store when the on-heap cache becomes full.
-- OR --
You can use it to persist all cached objects to disk so that cached objects are retained when the
Integration Server is restarted or the cache manager is reinitialized.
Note:
Persisting a cache to the local disk store does not guarantee that elements in cache will be successfully recovered when a Integration Server or a cache manager restarts. If Integration Server or a cache manager is not shut down gracefully, the disk store might not be in a state from which the elements can be recovered. If you require guaranteed persistence of a cache, you must use a Terracotta Server Array.
Note:
You can only use a local disk store with a local cache. A local cache is any Terracotta Ehcache-based cache that resides wholly on the machine where Integration Server is running and does not extend to the Terracotta Server Array.