Class CacheManager

java.lang.Object
com.eka.middleware.heap.CacheManager

public class CacheManager extends Object
  • Constructor Details

    • CacheManager

      public CacheManager()
  • Method Details

    • cacheList

      public static List<String> cacheList(Tenant tenant)
    • getCacheAsMap

      public static Map<String,Object> getCacheAsMap(Tenant tenant)
    • addEmbeddedService

      public static void addEmbeddedService(String key, String json, Tenant tenant)
    • getEmbeddedServices

      public static Set<String> getEmbeddedServices(Tenant tenant)
      Parameters:
      tenant -
      Returns:
    • getEmbeddedService

      public static String getEmbeddedService(String key, Tenant tenant)
    • getOrCreateNewCache

      public static Map getOrCreateNewCache(Tenant tenant, String name)
    • deleteCache

      public static void deleteCache(Tenant tenant, String name)