- java.lang.Object
-
- com.appslandia.common.caching.JCacheManager
-
- All Implemented Interfaces:
AppCacheManager
public class JCacheManager extends Object implements AppCacheManager
- Author:
- Loc Ha
-
-
Constructor Summary
Constructors Constructor Description JCacheManager(javax.cache.CacheManager cacheManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanclearCache(String cacheName)voidclose()booleandestroyCache(String cacheName)<K,V>
AppCache<K,V>getCache(String cacheName)Iterable<String>getCacheNames()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.appslandia.common.caching.AppCacheManager
getRequiredCache
-
-
-
-
Method Detail
-
getCache
public <K,V> AppCache<K,V> getCache(String cacheName)
- Specified by:
getCachein interfaceAppCacheManager
-
clearCache
public boolean clearCache(String cacheName)
- Specified by:
clearCachein interfaceAppCacheManager
-
destroyCache
public boolean destroyCache(String cacheName)
- Specified by:
destroyCachein interfaceAppCacheManager
-
getCacheNames
public Iterable<String> getCacheNames()
- Specified by:
getCacheNamesin interfaceAppCacheManager
-
close
public void close()
- Specified by:
closein interfaceAppCacheManager
-
-