Class CombinedCacheKey

java.lang.Object
com.adobe.acs.commons.httpcache.keys.AbstractCacheKey
com.adobe.acs.commons.httpcache.config.impl.keys.CombinedCacheKey
All Implemented Interfaces:
CacheKey, Serializable

public class CombinedCacheKey extends AbstractCacheKey implements CacheKey, Serializable
Combined cache key.

Aggregates multiple cachekeys into 1 master key.

See Also:
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Description copied from interface: CacheKey
      The equals method used to match up request-derived cache keys with keys in the httpcache.
      Specified by:
      equals in interface CacheKey
      Overrides:
      equals in class AbstractCacheKey
      Parameters:
      o - the object to evaluate this against.
      Returns:
      true if the objects represent the same cache item, false otherwise.
    • hashCode

      public int hashCode()
      Description copied from interface: CacheKey
      The hashCode for the cache key.
      Specified by:
      hashCode in interface CacheKey
      Overrides:
      hashCode in class AbstractCacheKey
      Returns:
      the hash code.
    • toString

      public String toString()
      Description copied from interface: CacheKey
      The useful string representation of this cache key. This should be generally unique as it drives display in the mbean.
      Specified by:
      toString in interface CacheKey
      Overrides:
      toString in class Object
      Returns:
      the string representing the cache key for human consumption.