Interface ObjectCacheKeyGenerator

  • All Known Implementing Classes:
    ObjectCacheKeyGeneratorImpl

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

      • createCacheKey

        ObjectCacheKey createCacheKey​(java.lang.String typeCode,
                                      java.lang.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

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