java.lang.Object
org.alfresco.repo.content.caching.Key
All Implemented Interfaces:
Serializable

public class Key extends Object implements Serializable
Multipurpose key so that data can be cached either by content URL or cache file path.
Author:
Matt Ward
See Also:
  • Method Details

    • forUrl

      public static Key forUrl(String url)
    • forCacheFile

      public static Key forCacheFile(String path)
    • forCacheFile

      public static Key forCacheFile(File file)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object