Interface ConfigurationModelCacheStrategy

    • Method Detail

      • getConfigurationModelEngineState

        ConfigModel getConfigurationModelEngineState​(java.lang.String configId)
        Retrieves the configuration model engine state
        Parameters:
        configId - id of the configuration
        Returns:
        Configuration model
      • setConfigurationModelEngineState

        void setConfigurationModelEngineState​(java.lang.String configId,
                                              ConfigModel configModel)
        Puts the given config model into the engine state read cache
        Parameters:
        configId - unique config id
        configModel - model to cache
      • purge

        void purge()
        purges the caches
      • removeConfigAttributeStates

        @Deprecated(since="1811",
                    forRemoval=true)
        void removeConfigAttributeStates()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 18.11.0 - this method is obsolete because the key under which the configuration engine state and price summary states have been saved consists of configuration id an user session id
        Clears the read cache for the configuration engine state and price summary states for the whole user session
      • removeConfigAttributeState

        void removeConfigAttributeState​(java.lang.String configId)
        Removes the given configuration engine state and price summary model from read cache for engine state
        Parameters:
        configId - unique config id