org.exoplatform.services.portletcontainer.monitor
Interface PortletRuntimeData

All Known Implementing Classes:
PortletRuntimeDatasImpl

public interface PortletRuntimeData

Created y the eXo platform team User: Benjamin Mestrallet Date: 4 mai 2004 .


Method Summary
 CachedData getCachedData(String key, boolean isCacheGlobal)
           
 int getCacheExpirationPeriod()
           
 String getCacheScope()
           
 long getInitializationTime()
           
 long getLastAccessTime()
           
 long getLastFailureAccessTime()
           
 long getLastInitFailureAccessTime()
           
 String getPortletAppName()
           
 String getPortletName()
           
 PortletRequestMonitorData[] getPortletRequestMonitorData()
           
 long getUnavailabilityPeriod()
           
 boolean isDataCached(String key, boolean isCacheGlobal)
           
 boolean isInitialized()
           
 void setLastInitFailureAccessTime(long lastInitFailureAccessTime)
           
 

Method Detail

getPortletAppName

String getPortletAppName()
Returns:
app name

getPortletName

String getPortletName()
Returns:
portlet name

isInitialized

boolean isInitialized()
Returns:
is initialized

getInitializationTime

long getInitializationTime()
Returns:
time

getLastAccessTime

long getLastAccessTime()
Returns:
time

getLastFailureAccessTime

long getLastFailureAccessTime()
Returns:
time

getLastInitFailureAccessTime

long getLastInitFailureAccessTime()
Returns:
time

setLastInitFailureAccessTime

void setLastInitFailureAccessTime(long lastInitFailureAccessTime)
Parameters:
lastInitFailureAccessTime - time

getUnavailabilityPeriod

long getUnavailabilityPeriod()
Returns:
unavailability period

isDataCached

boolean isDataCached(String key,
                     boolean isCacheGlobal)
Parameters:
key - cache key
isCacheGlobal - either to use global cache
Returns:
is data cached

getCacheScope

String getCacheScope()
Returns:
cache scope

getCachedData

CachedData getCachedData(String key,
                         boolean isCacheGlobal)
Parameters:
key - cache key
isCacheGlobal - either to use global cache
Returns:
cached data

getCacheExpirationPeriod

int getCacheExpirationPeriod()
Returns:
cache expiration period

getPortletRequestMonitorData

PortletRequestMonitorData[] getPortletRequestMonitorData()
Returns:
monitor data


Copyright © 2009 eXo Platform SAS. All Rights Reserved.