Class CmsDetailNameCache

  • All Implemented Interfaces:

    public class CmsDetailNameCache
    extends java.lang.Object
    implements I_CmsGlobalConfigurationCache
    A cache which stores structure ids for URL names.

    Note that this cache may in some cases contain outdated structure ids for URL names, if an URL name has been removed for a content but is not yet mapped to a different content.

    • Field Summary

      Modifier and Type Field Description
      static java.lang.String ATTR_BYPASS
      Request attribute for telling the link substitution handler that it shouldn't use this cache.
      static int DELAY_MILLIS
      The delay between updates.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clears the cache.
      CmsUUID getDetailId​(java.lang.String name)
      Gets the structure id for a given URL name.
      void initialize()
      Initializes the cache by scheduling the update actions and loading the initial cache contents.
      void remove​(CmsPublishedResource pubRes)
      Removes a published resource from the cache.
      void remove​(CmsResource resource)
      Removes a resource from the cache.
      void update​(CmsPublishedResource pubRes)
      Updates the cache entry for the given published resource.
      void update​(CmsResource resource)
      Updates the cache entry for the given resource.
      void waitForUpdate()
      Waits until the cache is potentially updated for the next time.
      • Methods inherited from class java.lang.Object

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