1 package org.exoplatform.services.portletcontainer.monitor; 2 3 import java.util.Map ; 4 5 10 public interface PortletContainerMonitor { 11 12 Map getPortletRuntimeDataMap(); 13 14 long getPortletVersionNumber(String portletAppName); 15 16 boolean isInitialized(String portletAppName, String portletName); 17 18 boolean isBroken(String portletAppName, String portletName); 19 20 boolean isDestroyed(String portletAppName, String portletName); 21 22 boolean isAvailable(String portletApplicationName, String portletName, long l); 23 24 boolean isAvailable(String portletApplicationName, String portletName); 25 26 long whenAvailable(String portletApplicationName, String portletName); 27 28 boolean isInitialisationAllowed(String portletApplicationName, String portletName, long l); 29 30 boolean isDataCached(String portletApplicationName, String portletName, 31 String key, boolean isCacheGlobal); 32 33 int getCacheExpirationPeriod(String portletApplicationName, String portletName); 34 35 long getPortletLastAccessTime(String portletAppName, String portletName, 36 String key, boolean isCacheGlobal); 37 38 String getCachedTitle(String portletAppName, String portletName, 39 String key, boolean isCacheGlobal); 40 41 char[] getCachedContent(String portletAppName, String portletName, 42 String key, boolean isCacheGlobal); 43 44 void setInitializationTime(String portletAppName, String portletName, long accessTime); 45 46 long getInitializationTime(String portletAppName, String portletName); 47 48 } 49 | Popular Tags |