-1
如何使另一個在ehcache.xml中聲明的緩存默認爲<defaultCache/>
元素。在ehcache中默認創建另一個緩存
<ehcache>
<!-- <defaultCache xxxxxx /> -->
<cache name="mynewDefault" />
</ehcache>
現在我想使mynewDefault成爲默認緩存。請注意defaultCache已被評論。