Hi
I am playing with the LruCacheManager and have it's proxy bean setup in spring .xml like this
Code:
<property name="cacheFlushAttributes">
<props>
<prop key="delete*">[cacheProfileIds=test]</prop>
</props>
</property>
And from the log output any "delete" methods are flush methods.
Code:
[org.wanghy.cache.interceptor.AbstractNameMatchCacheAttributeSource] - Method 'addMethod(String, CacheAttribute)'. Adding method [delete*] with attribute [org.wanghy.cache.interceptor.flush.FlushCache@1c86be5[cacheProfileIds={test},flushedBeforeExecution=false]]
But how do I set the flushedBeforeExecution to true?