Class FileCacheKey

  • All Implemented Interfaces:
    Cacheable
    Direct Known Subclasses:
    LazyFileCacheKey

    public class FileCacheKey
    extends java.lang.Object
    implements Cacheable
    The entry key in the file cache map.
    Author:
    Alexey Stashok
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String host  
      protected java.lang.String uri  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FileCacheKey()  
      protected FileCacheKey​(java.lang.String host, java.lang.String uri)  
    • Field Detail

      • host

        protected java.lang.String host
      • uri

        protected java.lang.String uri
    • Constructor Detail

      • FileCacheKey

        protected FileCacheKey()
      • FileCacheKey

        protected FileCacheKey​(java.lang.String host,
                               java.lang.String uri)
    • Method Detail

      • recycle

        public void recycle()
        Specified by:
        recycle in interface Cacheable
      • create

        public static FileCacheKey create​(java.lang.String host,
                                          java.lang.String uri)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getHost

        protected java.lang.String getHost()
      • getUri

        protected java.lang.String getUri()