EhCache default cache in java
Posted
by user349302
on Stack Overflow
See other posts from Stack Overflow
or by user349302
Published on 2010-06-02T19:45:31Z
Indexed on
2010/06/02
19:54 UTC
Read the original article
Hit count: 233
Hello
I have this configuration for ehCache:
<ehcache>
<defaultCache
name="defaut"
maxElementsInMemory="5"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
overflowToDisk="false"
diskPersistent="false"
memoryStoreEvictionPolicy="LRU"
/>
</ehcache>
How can I get access to default cache of EhCache? CacheManager.getInstance().getCache("default") - returns null
thank you
© Stack Overflow or respective owner