Interface LocalConfigurationStorage

    • Method Detail

      • createCache

        void createCache​(String name,
                         String template,
                         Configuration configuration,
                         EnumSet<org.infinispan.commons.api.CacheContainerAdmin.AdminFlag> flags)
        Creates the cache using the supplied template, configuration and flags. This method may be invoked either with or without a template. In both cases a concrete configuration will also be available. If a template name is present, the LocalConfigurationStorage should use it, e.g. when persisting the configuration.
        Parameters:
        name - the name of the cache to create
        template - the template that should be used to configure the cache. Can be null.
        configuration - the Configuration to use
        flags - the desired CacheContainerAdmin.AdminFlags
      • removeCache

        void removeCache​(String name,
                         EnumSet<org.infinispan.commons.api.CacheContainerAdmin.AdminFlag> flags)
        Removes the specified cache.
        Parameters:
        name - the name of the cache to remove
        flags - the desired CacheContainerAdmin.AdminFlags