org.exoplatform.services.portletcontainer.monitor
Interface PortletContainerMonitor
- All Known Implementing Classes:
- PortletContainerMonitorImpl
public interface PortletContainerMonitor
Created y the eXo platform team User: Benjamin Mestrallet Date: 4 mai 2004 .
|
Method Summary |
byte[] |
getCachedContent(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
|
String |
getCachedETag(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
|
String |
getCachedTitle(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
|
int |
getCacheExpirationPeriod(String portletApplicationName,
String portletName)
|
long |
getInitializationTime(String portletAppName,
String portletName)
|
long |
getPortletLastAccessTime(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
|
long |
getPortletLastCacheUpdateTime(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
|
Map |
getPortletRuntimeDataMap()
|
long |
getPortletVersionNumber(String portletAppName)
|
boolean |
isAvailable(String portletApplicationName,
String portletName)
|
boolean |
isAvailable(String portletApplicationName,
String portletName,
long l)
|
boolean |
isBroken(String portletAppName,
String portletName)
|
boolean |
isDataCached(String portletApplicationName,
String portletName,
String key,
boolean isCacheGlobal)
|
boolean |
isDestroyed(String portletAppName,
String portletName)
|
boolean |
isInitialisationAllowed(String portletApplicationName,
String portletName,
long l)
|
boolean |
isInitialized(String portletAppName,
String portletName)
|
void |
setInitializationTime(String portletAppName,
String portletName,
long accessTime)
|
long |
whenAvailable(String portletApplicationName,
String portletName)
|
getPortletRuntimeDataMap
Map getPortletRuntimeDataMap()
- Returns:
- portlet runtime data map
getPortletVersionNumber
long getPortletVersionNumber(String portletAppName)
- Parameters:
portletAppName - app name
- Returns:
- portlet app definition version number
isInitialized
boolean isInitialized(String portletAppName,
String portletName)
- Parameters:
portletAppName - app nameportletName - portlet name
- Returns:
- is the portlet initialized
isBroken
boolean isBroken(String portletAppName,
String portletName)
- Parameters:
portletAppName - app nameportletName - portlet name
- Returns:
- is the portlet broken
isDestroyed
boolean isDestroyed(String portletAppName,
String portletName)
- Parameters:
portletAppName - app nameportletName - portlet name
- Returns:
- is the portlet destroyed
isAvailable
boolean isAvailable(String portletApplicationName,
String portletName,
long l)
- Parameters:
portletApplicationName - app nameportletName - portlet namel - l
- Returns:
- is the portlet available
isAvailable
boolean isAvailable(String portletApplicationName,
String portletName)
- Parameters:
portletApplicationName - app nameportletName - portlet name
- Returns:
- is the portlet available
whenAvailable
long whenAvailable(String portletApplicationName,
String portletName)
- Parameters:
portletApplicationName - app nameportletName - portlet name
- Returns:
- when the portlet will be available
isInitialisationAllowed
boolean isInitialisationAllowed(String portletApplicationName,
String portletName,
long l)
- Parameters:
portletApplicationName - app nameportletName - portlet namel - l
- Returns:
- either initialization is allowed
isDataCached
boolean isDataCached(String portletApplicationName,
String portletName,
String key,
boolean isCacheGlobal)
- Parameters:
portletApplicationName - app nameportletName - portlet namekey - cache keyisCacheGlobal - either use global cache
- Returns:
- either data were cached
getCacheExpirationPeriod
int getCacheExpirationPeriod(String portletApplicationName,
String portletName)
- Parameters:
portletApplicationName - app nameportletName - portlet name
- Returns:
- cache expiration period
getPortletLastAccessTime
long getPortletLastAccessTime(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
- Parameters:
portletAppName - app nameportletName - portlet namekey - cache keyisCacheGlobal - either use global cache
- Returns:
- last access time
getPortletLastCacheUpdateTime
long getPortletLastCacheUpdateTime(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
- Parameters:
portletAppName - app nameportletName - portlet namekey - cache keyisCacheGlobal - either use global cache
- Returns:
- last cache update time
getCachedTitle
String getCachedTitle(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
- Parameters:
portletAppName - app nameportletName - portlet namekey - cache keyisCacheGlobal - either use global cache
- Returns:
- cached data
getCachedETag
String getCachedETag(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
- Parameters:
portletAppName - app nameportletName - portlet namekey - cache keyisCacheGlobal - either use global cache
- Returns:
- cached data
getCachedContent
byte[] getCachedContent(String portletAppName,
String portletName,
String key,
boolean isCacheGlobal)
- Parameters:
portletAppName - app nameportletName - portlet namekey - cache keyisCacheGlobal - either use global cache
- Returns:
- cached data
setInitializationTime
void setInitializationTime(String portletAppName,
String portletName,
long accessTime)
- Parameters:
portletAppName - app nameportletName - portlet nameaccessTime - access time
getInitializationTime
long getInitializationTime(String portletAppName,
String portletName)
- Parameters:
portletAppName - app nameportletName - portlet name
- Returns:
- initialization time
Copyright © 2009 eXo Platform SAS. All Rights Reserved.