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, 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
 java.util.List getOutOfServiceList()
           
 java.util.List getOutOfServiceList(java.lang.String fullPortletName)
           
 void incrementRenderTimeoutCount(PortletWindow window)
           
 boolean isOutOfService(PortletWindow window)
           
 void putIntoService(java.util.List fullPortletNames)
           
 void putIntoService(PortletWindow window)
           
 void setExpiration(PortletWindow window, long expiration)
           
 void success(PortletWindow window)
           
 void takeOutOfService(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(PortletWindow window)

exceededTimeout

boolean exceededTimeout(long renderTime,
                        PortletWindow window)

incrementRenderTimeoutCount

void incrementRenderTimeoutCount(PortletWindow window)

setExpiration

void setExpiration(PortletWindow window,
                   long expiration)

success

void success(PortletWindow window)

takeOutOfService

void takeOutOfService(PortletWindow window)

putIntoService

void putIntoService(PortletWindow window)

putIntoService

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

getOutOfServiceList

java.util.List getOutOfServiceList(java.lang.String fullPortletName)

getOutOfServiceList

java.util.List getOutOfServiceList()


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.