Class LegacyCacheKey

java.lang.Object
de.hybris.platform.regioncache.key.AbstractCacheKey
de.hybris.platform.regioncache.key.legacy.LegacyCacheKey
All Implemented Interfaces:
CacheKey
Direct Known Subclasses:
AbstractLegacyRegistrableCacheKey, TestCacheKeyFactory.TestLegacyCacheKeyWithLoader

public class LegacyCacheKey extends AbstractCacheKey
Class wraps old fashion Object[] key to meaningful structure.
This class does not handle FlexibleSearch multi-keys: [ [ ... ], [ ... ], [ ... ] ].
Sanity check is done in the constructor. To handle multi-keys override RegistrableCacheKey (see FlexibleSearchCacheUnit).
  • Field Details

    • key

      protected final Object[] key
      We keep legacy key in order to support equals().
  • Constructor Details

    • LegacyCacheKey

      public LegacyCacheKey(Object[] key, String tenantId)
    • LegacyCacheKey

      public LegacyCacheKey(String typeCode, Object[] key, String tenantId)
  • Method Details