Interface ConfigurationModelCacheStrategy

All Known Implementing Classes:
DefaultConfigurationModelCacheStrategyImpl

public interface ConfigurationModelCacheStrategy
This strategy manages the caching of the product configuration model itself.
  • Method Details

    • getConfigurationModelEngineState

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

      void setConfigurationModelEngineState(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
    • removeConfigAttributeState

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