Interface CacheKeyService

All Known Implementing Classes:
DefaultCacheKeyService

public interface CacheKeyService
Generates cache keys to be used for hybris cache regions
  • Method Details

    • createAuthorizationDataCacheKey

      DefaultCacheKey createAuthorizationDataCacheKey(String baseSite)
      Creates a cache key for the authorization data cache region where the base site is set externally
      Parameters:
      baseSite - base site
      Returns:
      the created cache key
    • createAuthorizationDataCacheKey

      DefaultCacheKey createAuthorizationDataCacheKey()
      Creates a cache key for the authorization data cache region
      Returns:
      the created cache key
    • createConfigurationSummaryCacheKey

      DefaultCacheKey createConfigurationSummaryCacheKey(String configId)
      Creates a cache key for the configuration summary cache region
      Parameters:
      configId - identifier of the configuration summary
      Returns:
      the created cache key
    • createClientAuthorizationDataCacheKey

      default DefaultCacheKey createClientAuthorizationDataCacheKey(String baseSite, String ownerId)
      Creates a cache key for the client authorization data cache region where the base site is set externally
      Parameters:
      baseSite - base site
      ownerId - owner id
      Returns:
      the created cache key
    • createClientAuthorizationDataCacheKey

      default DefaultCacheKey createClientAuthorizationDataCacheKey(String ownerId)
      Creates a cache key for the client authorization data cache region
      Parameters:
      ownerId - owner id
      Returns:
      the created cache key
    • createCookieCacheKey

      default DefaultCacheKey createCookieCacheKey(String configId)
      Created a cache key for the session cookie cache region
      Parameters:
      configId - identifier of the configuration
      Returns:
      cache key
    • createConfigurationTabsCacheKey

      default DefaultCacheKey createConfigurationTabsCacheKey(String configId)
      Creates a cache key for the configuration tabs cache region
      Parameters:
      configId - identifier of the configuration
      Returns:
      the created cache key