Interface ObjectCacheKeyGenerator

All Known Implementing Classes:
ObjectCacheKeyGeneratorImpl

public interface ObjectCacheKeyGenerator
Generates label related cache keys to be used for hybris cache regions
  • Method Details

    • createCacheKey

      ObjectCacheKey createCacheKey(String typeCode, Object objectKey)
      Creates a cache key for the object label cache region.
      Parameters:
      typeCode - cache type code
      objectKey - object key to the cache key
      Returns:
      the created cache key
    • computeKey

      Object computeKey(Object object)
      Compute key for specific object.
      Parameters:
      object -
      Returns:
      the computed object key