Class DefaultPageCacheQueueResolver

  • All Implemented Interfaces:
    IPageCacheQueueResolver

    public class DefaultPageCacheQueueResolver
    extends 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: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
    • Field Detail

      • PROPERTY_QUEUE_ID

        protected static final 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 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.