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 Details

    • getInstance

      public static TranslationCacheManager getInstance()
    • getCache

      public static Cache getCache(String name)
    • cleanCache

      @Deprecated public static void cleanCache(Cache c)
      Deprecated.
      Cleans the entire cache
      Parameters:
      c - Cache to be cleaned.
    • registerCache

      public int registerCache(String className, Cache c)
    • registerCache

      public int registerCache(String className, Class c)
    • unregisterCache

      public int unregisterCache(String cacheName)
    • clearCache

      public void clearCache()
    • size

      public int size()
    • getCacheSnapshot

      public CacheSnapshot getCacheSnapshot()
    • getLoaderInstance

      public Loader getLoaderInstance(Class c)