i have ehcache configuration below :
<ehcache xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <cache name="reg1" maxelementsinmemory="100000" eternal="false" overflowtodisk="true" timetoliveseconds="1"> </cache> <cache name="reg2" maxelementsinmemory="1000000" eternal="false" overflowtodisk="true" timetoliveseconds="100"/> </ehcache>
i unable figure out how can clear "reg1". have seen method clear not specific region. has figured out how this, please share.
thanks
from ehcache documentation :
http://ehcache.org/apidocs/2.4.4/net/sf/ehcache/cache.html#removeall()
removes cached items.
Comments
Post a Comment