ehcache-simm.xml

File purpose

The ehcache-simm.xml file maintains the frequently queried parameter values in the cache to retrieve them faster during query time.

File location

The file is located in the folder simm-starter\src\main\resources.

File values

Element Attribute Value Description
<cache> alias DatastoreLookupCache The DatastoreLookupCache cache stores the datastore lookup values to reduce the response time at query runtime.
<key-type> java.lang.Object The type of the key in the cache.
<value-type> java.util.Optional The type of the value in the cache.
<expiry> Specifies how long the cache lives.
<ttl> unit minutes The unit of time.
<resources> Properties to set up additional resources.
<heap> unit MB The unit maximum memory heap for the cache.
<cache> alias VectorExpandCache The VectorExpandCache cache stores the vectors to reduce the response time at query runtime.
<key-type> java.lang.Integer The type of the key in the cache.
<value-type> java.util.Optional The type of the value in the cache.
<expiry> Properties to set up how long the cache lives.
<ttl> unit minutes The unit of the time.
<resources> Properties to set up additional resources.
<heap> unit MB The unit maximum memory heap for the cache.