Package net.sf.ehcache
Class CacheUtil
- java.lang.Object
-
- net.sf.ehcache.CacheUtil
-
public class CacheUtil extends Object
This patch required because net.sf.ehcache.Cache#getDiskStore() and net.sf.ehcache.Cache#getMemoryStore() have package visibility. CacheUtil just exposes them via static functions with one parameter.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.sf.ehcache.store.Store
getDiskStore(net.sf.ehcache.Cache cache)
static net.sf.ehcache.store.Store
getMemoryStore(net.sf.ehcache.Cache cache)
-
-
-
Method Detail
-
getMemoryStore
public static net.sf.ehcache.store.Store getMemoryStore(net.sf.ehcache.Cache cache) throws IllegalStateException
- Throws:
IllegalStateException
-
getDiskStore
public static net.sf.ehcache.store.Store getDiskStore(net.sf.ehcache.Cache cache) throws IllegalStateException
- Throws:
IllegalStateException
-
-