Class ResourceReference


  • @Contract(threading=IMMUTABLE)
    class ResourceReference
    extends java.lang.ref.PhantomReference<HttpCacheEntry>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Resource resource  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      Resource getResource()  
      int hashCode()  
      • Methods inherited from class java.lang.ref.PhantomReference

        get
      • Methods inherited from class java.lang.ref.Reference

        clear, clone, enqueue, isEnqueued, reachabilityFence
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • resource

        private final Resource resource
    • Method Detail

      • getResource

        public Resource getResource()
      • hashCode

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

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