Ehcache refreshed at request time
Hi,
I have my EhCache being refreshed each 24 hrs as you can see in the snippet below:
<ehcache>
<!-- Required elements -->
<diskStore path="/MQ/programs/xxx/"/>
<defaultCache
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="86400"
timeToLiveSeconds="86400"
overflowToDisk="true"/>
</ehcache>
I wonder if there's a way to mandate to EhCache that it has to refresh the cache in a given moment, I mean, consider I have a web page with a button that says "Refresh Cache Now" so the cache does not have to wait 24 hrs after the last update.
Thanks!