Class TranslationCacheManager
- java.lang.Object
-
- com.vmware.vipclient.i18n.base.cache.TranslationCacheManager
-
public class TranslationCacheManager extends Object
singleton class, used to maintain the cache for translation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidcleanCache(Cache c)Deprecated.voidclearCache()static CachegetCache(String name)CacheSnapshotgetCacheSnapshot()static TranslationCacheManagergetInstance()LoadergetLoaderInstance(Class c)intregisterCache(String className, Cache c)intregisterCache(String className, Class c)intsize()intunregisterCache(String cacheName)
-
-
-
Method Detail
-
getInstance
public static TranslationCacheManager getInstance()
-
cleanCache
@Deprecated public static void cleanCache(Cache c)
Deprecated.Cleans the entire cache- Parameters:
c- Cache to be cleaned.
-
unregisterCache
public int unregisterCache(String cacheName)
-
clearCache
public void clearCache()
-
size
public int size()
-
getCacheSnapshot
public CacheSnapshot getCacheSnapshot()
-
-