org.apache.jetspeed.aggregator
Interface PortletTrackingManager


public interface PortletTrackingManager

PortletRendererService
Jetspeed-2 Rendering service.

This service process all portlet rendering requests and interfaces with the portlet container to generate the resulting markup

Version:
$Id: $
Author:
David Sean Taylor

Method Summary
 boolean exceededTimeout(long renderTime, org.apache.pluto.om.window.PortletWindow window)
           
 long getDefaultPortletTimeout()
          Get the default timeout for rendering a portlet in milliseconds
 int getOutOfServiceLimit()
          Out of service limit, if a portlet entity times out past its limit (or default limit) n consecutive times, it is taken out of service
 List getOutOfServiceList()
           
 List getOutOfServiceList(String fullPortletName)
           
 void incrementRenderTimeoutCount(org.apache.pluto.om.window.PortletWindow window)
           
 boolean isOutOfService(org.apache.pluto.om.window.PortletWindow window)
           
 void putIntoService(List fullPortletNames)
           
 void putIntoService(org.apache.pluto.om.window.PortletWindow window)
           
 void setExpiration(org.apache.pluto.om.window.PortletWindow window, long expiration)
           
 void success(org.apache.pluto.om.window.PortletWindow window)
           
 void takeOutOfService(org.apache.pluto.om.window.PortletWindow window)
           
 

Method Detail

getDefaultPortletTimeout

long getDefaultPortletTimeout()
Get the default timeout for rendering a portlet in milliseconds


getOutOfServiceLimit

int getOutOfServiceLimit()
Out of service limit, if a portlet entity times out past its limit (or default limit) n consecutive times, it is taken out of service

Returns:

isOutOfService

boolean isOutOfService(org.apache.pluto.om.window.PortletWindow window)

exceededTimeout

boolean exceededTimeout(long renderTime,
                        org.apache.pluto.om.window.PortletWindow window)

incrementRenderTimeoutCount

void incrementRenderTimeoutCount(org.apache.pluto.om.window.PortletWindow window)

setExpiration

void setExpiration(org.apache.pluto.om.window.PortletWindow window,
                   long expiration)

success

void success(org.apache.pluto.om.window.PortletWindow window)

takeOutOfService

void takeOutOfService(org.apache.pluto.om.window.PortletWindow window)

putIntoService

void putIntoService(org.apache.pluto.om.window.PortletWindow window)

putIntoService

void putIntoService(List fullPortletNames)
Parameters:
fullPortletNames - a list of Strings of full portlet names

getOutOfServiceList

List getOutOfServiceList(String fullPortletName)

getOutOfServiceList

List getOutOfServiceList()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.