lumis.portal.page.cache
Class DefaultPageCacheQueueResolver

Package class diagram package DefaultPageCacheQueueResolver
java.lang.Object
  extended by 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

Field Summary
protected static String PROPERTY_QUEUE_ID
          The name of the property this resolver tries to obtain the queueId from.
 
Constructor Summary
DefaultPageCacheQueueResolver()
           
 
Method Summary
 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 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.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.