Class CmsDetailNameCache

  • All Implemented Interfaces:
    I_CmsGlobalConfigurationCache

    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

      Fields 
      Modifier and Type Field Description
      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