Package lumis.portal.page.cache
Class DefaultPageCacheQueueResolver
- java.lang.Object
-
- lumis.portal.page.cache.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 Summary
Fields Modifier and Type Field Description protected static String
PROPERTY_QUEUE_ID
The name of the property this resolver tries to obtain the queueId from.
-
Constructor Summary
Constructors Constructor Description DefaultPageCacheQueueResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resolveQueue(WebResource webResource)
Resolves the queue to be used for the cache of a web resource.
-
-
-
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
-
-
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 interfaceIPageCacheQueueResolver
- Parameters:
webResource
- the web resource.- Returns:
- the resolved queue id. If
null
, the default queue id will be used.
-
-