Class ResourceDigestManagerImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addInvalidationCallback​(java.lang.Runnable callback)
      Adds a callback that is invoked when an underlying tracked resource has changed.
      void addInvalidationCallback​(java.util.function.Function<java.util.List<java.lang.String>,​java.util.List<java.lang.String>> function)
      Adds a callback, as a function that receives a list of strings and also returns a list of strings, that is invoked when one or more listed underlying tracked resource have changed.
      void addInvalidationListener​(InvalidationListener listener)
      Adds a listener, who needs to know when an underlying resource of a given category has changed (so that the receiver may discard any cached data that may have been invalidated).
      void clearOnInvalidation​(java.util.Map<?,​?> map)
      Adds a callback that clears the map.
      void fireInvalidationEvent​(java.util.List<java.lang.String> resources)
      Notify resource-specific invalidations to listeners.
      java.lang.String getDigest​(Resource resource)
      Returns the digest for the given path.
      boolean requiresDigest​(Resource resource)
      Returns true if the path requires that the client URL for the resource include a digest to validate that the client is authorized to access the resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait