Class DefaultPageCacheQueueResolver

  • All Implemented Interfaces:
    IPageCacheQueueResolver

    public class DefaultPageCacheQueueResolver
    extends java.lang.Object
    implements IPageCacheQueueResolver
    The default resolver for a cache's generation queue.

    This resolver obtains the queue identifier from the web resource's property lumis.portal.page.cache.queueId.

    Since:
    6.0.0
    Version:
    $Revision$ $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String PROPERTY_QUEUE_ID
      The name of the property this resolver tries to obtain the queueId from.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String resolveQueue​(WebResource webResource)
      Resolves the queue to be used for the cache of a web resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PROPERTY_QUEUE_ID

        protected static final java.lang.String PROPERTY_QUEUE_ID
        The name of the property this resolver tries to obtain the queueId from.
        Since:
        6.0.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultPageCacheQueueResolver

        public DefaultPageCacheQueueResolver()
    • Method Detail

      • resolveQueue

        public java.lang.String resolveQueue​(WebResource webResource)
        Description copied from interface: IPageCacheQueueResolver
        Resolves the queue to be used for the cache of a web resource.
        Specified by:
        resolveQueue in interface IPageCacheQueueResolver
        Parameters:
        webResource - the web resource.
        Returns:
        the resolved queue id. If null, the default queue id will be used.