| java.lang.Object org.apache.jetspeed.aggregator.impl.RenderingJobImpl
RenderingJobImpl | public class RenderingJobImpl implements RenderingJob(Code) | | The RenderingJob is responsible for storing all necessary objets for
asynchronous portlet rendering as well as implementing the rendering logic
in its Runnable method.
author: Rapha�l Luta author: David Sean Taylor author: Woonsan Ko version: $Id: RenderingJobImpl.java 592263 2007-11-06 04:19:20Z woonsan $ |
Constructor Summary | |
public | RenderingJobImpl(PortletContainer container, PortletRenderer renderer, PortletDefinition portletDefinition, PortletContent portletContent, ContentFragment fragment, ContentDispatcherCtrl dispatcher, HttpServletRequest request, HttpServletResponse response, RequestContext requestContext, PortletWindow window, PortalStatistics statistics, int expirationCache, boolean contentIsCached) | public | RenderingJobImpl(PortletContainer container, PortletRenderer renderer, PortletDefinition portletDefinition, PortletContent portletContent, ContentFragment fragment, ContentDispatcherCtrl dispatcher, HttpServletRequest request, HttpServletResponse response, RequestContext requestContext, PortletWindow window, PortalStatistics statistics, int expirationCache, boolean contentIsCached, Map workerAttrs) |
container | protected PortletContainer container(Code) | | |
contentIsCached | protected boolean contentIsCached(Code) | | |
expirationCache | protected int expirationCache(Code) | | |
log | final protected static Log log(Code) | | Commons logging
|
portletDefinition | protected PortletDefinition portletDefinition(Code) | | |
startTimeMillis | protected long startTimeMillis(Code) | | |
timeout | protected long timeout(Code) | | |
window | protected PortletWindow window(Code) | | WorkerMonitor used to flush the queue
|
workerAttributes | protected Map workerAttributes(Code) | | |
RenderingJobImpl | public RenderingJobImpl(PortletContainer container, PortletRenderer renderer, PortletDefinition portletDefinition, PortletContent portletContent, ContentFragment fragment, ContentDispatcherCtrl dispatcher, HttpServletRequest request, HttpServletResponse response, RequestContext requestContext, PortletWindow window, PortalStatistics statistics, int expirationCache, boolean contentIsCached)(Code) | | |
RenderingJobImpl | public RenderingJobImpl(PortletContainer container, PortletRenderer renderer, PortletDefinition portletDefinition, PortletContent portletContent, ContentFragment fragment, ContentDispatcherCtrl dispatcher, HttpServletRequest request, HttpServletResponse response, RequestContext requestContext, PortletWindow window, PortalStatistics statistics, int expirationCache, boolean contentIsCached, Map workerAttrs)(Code) | | |
execute | public void execute()(Code) | |
execute
|
getExpirationCache | public int getExpirationCache()(Code) | | |
getPortletContent | public PortletContent getPortletContent()(Code) | |
getPortletContent
The portlet content this job is in charge of rendering |
getPortletDefinition | public PortletDefinition getPortletDefinition()(Code) | | |
getTimeout | public long getTimeout()(Code) | | Gets portlet timout in milliseconds.
|
getWindow | public PortletWindow getWindow()(Code) | |
getWindow
The window this job is in charge of rendering |
isContentCached | public boolean isContentCached()(Code) | | |
isTimeout | public boolean isTimeout()(Code) | | Checks if the portlet rendering is timeout
|
removeWorkerAttribute | public void removeWorkerAttribute(String name)(Code) | | |
run | public void run()(Code) | | Checks if queue is empty, if not try to empty it by calling
the WorkerMonitor. When done, pause until next scheduled scan.
|
setTimeout | public void setTimeout(long timeout)(Code) | | Sets portlet timout in milliseconds.
|
|
|