Package lumis.portal.page.cache
Class DefaultPageCacheQueueResolver
- java.lang.Object
-
- lumis.portal.page.cache.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.
-
Constructor Summary
Constructors Constructor Description DefaultPageCacheQueueResolver()
-
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.
-
-
-
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
-
-
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 interfaceIPageCacheQueueResolver
- Parameters:
webResource
- the web resource.- Returns:
- the resolved queue id. If
null
, the default queue id will be used.
-
-