Class CacheModuleRegistry

java.lang.Object
org.serviceconnector.registry.Registry<String,ISCCacheModule<?>>
org.serviceconnector.registry.CacheModuleRegistry
All Implemented Interfaces:
IRegistryMXBean

public class CacheModuleRegistry extends Registry<String,ISCCacheModule<?>>
The Class CacheModuleRegistry. Registries stores cache modules available in SC.
  • Constructor Details

    • CacheModuleRegistry

      public CacheModuleRegistry()
  • Method Details

    • addCacheModule

      public void addCacheModule(String key, ISCCacheModule<?> cacheModule)
      Adds the cache module.
      Parameters:
      key - the key
      cacheModule - the cache module
    • getCache

      public ISCCacheModule<?> getCache(String key)
      Gets the cache.
      Parameters:
      key - the key
      Returns:
      the cache
    • removeCache

      public void removeCache(String key)
      Removes the cache.
      Parameters:
      key - the key
    • dump

      public void dump(XMLDumpWriter writer) throws Exception
      Dump.
      Parameters:
      writer - the writer
      Throws:
      Exception - the exception