|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.portletcontainer.plugins.pc.monitor.PortletRuntimeDatasImpl
public class PortletRuntimeDatasImpl
Created y the eXo platform team. User: Benjamin Mestrallet Date: 6 mai 2004
| Constructor Summary | |
|---|---|
PortletRuntimeDatasImpl(String portletAppName,
String portletName,
org.exoplatform.services.cache.CacheService cacheService,
org.exoplatform.services.cache.ExoCache globalCache,
org.apache.commons.logging.Log log)
|
|
| Method Summary | |
|---|---|
CachedData |
getCachedData(String key,
boolean isCacheGlobal)
Overridden method. |
int |
getCacheExpirationPeriod()
Overridden method. |
String |
getCacheScope()
Overridden method. |
long |
getInitializationTime()
Overridden method. |
long |
getLastAccessTime()
Overridden method. |
long |
getLastFailureAccessTime()
Overridden method. |
long |
getLastInitFailureAccessTime()
Overridden method. |
String |
getPortletAppName()
Overridden method. |
String |
getPortletName()
Overridden method. |
PortletRequestMonitorData[] |
getPortletRequestMonitorData()
Overridden method. |
long |
getUnavailabilityPeriod()
Overridden method. |
boolean |
isAvailable(long l)
|
boolean |
isDataCached(String key,
boolean isCacheGlobal)
Overridden method. |
boolean |
isInitialisationAllowed(long l)
|
boolean |
isInitialized()
Overridden method. |
void |
logProcessActionRequest(long startTime,
long endTime)
|
void |
logProcessEventRequest(long startTime,
long endTime)
|
void |
logRenderRequest(long startTime,
long endTime,
boolean cacheHit)
|
void |
logServeResourceRequest(long startTime,
long endTime,
boolean cacheHit)
|
void |
removeCachedData(String key,
boolean isCacheGlobal)
|
void |
setCachedData(String key,
CachedData cachedData,
boolean isCacheGlobal)
|
void |
setCacheExpirationPeriod(int t)
|
void |
setCacheScope(String cacheScope)
|
void |
setInitializationTime(long l)
|
void |
setInitialized(boolean b)
|
void |
setLastAccessTime(long l)
|
void |
setLastFailureAccessTime(long l)
|
void |
setLastInitFailureAccessTime(long l)
Overridden method. |
void |
setPortletAppName(String s)
|
void |
setPortletName(String s)
|
void |
setUnavailabilityPeriod(long l)
|
long |
whenAvailable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletRuntimeDatasImpl(String portletAppName,
String portletName,
org.exoplatform.services.cache.CacheService cacheService,
org.exoplatform.services.cache.ExoCache globalCache,
org.apache.commons.logging.Log log)
portletAppName - portlet app nameportletName - portlet namecacheService - cache serviceglobalCache - global cachelog - log| Method Detail |
|---|
public final boolean isInitialized()
isInitialized in interface PortletRuntimeDataPortletRuntimeData.isInitialized()public final void setInitialized(boolean b)
b - initializedpublic final String getPortletAppName()
getPortletAppName in interface PortletRuntimeDataPortletRuntimeData.getPortletAppName()public final void setPortletAppName(String s)
s - portlet app namepublic final String getPortletName()
getPortletName in interface PortletRuntimeDataPortletRuntimeData.getPortletName()public final void setPortletName(String s)
s - portlet namepublic final long getLastAccessTime()
getLastAccessTime in interface PortletRuntimeDataPortletRuntimeData.getLastAccessTime()public final void setLastAccessTime(long l)
l - timepublic final long getLastFailureAccessTime()
getLastFailureAccessTime in interface PortletRuntimeDataPortletRuntimeData.getLastFailureAccessTime()public final long getLastInitFailureAccessTime()
getLastInitFailureAccessTime in interface PortletRuntimeDataPortletRuntimeData.getLastInitFailureAccessTime()public final void setLastInitFailureAccessTime(long l)
setLastInitFailureAccessTime in interface PortletRuntimeDatal - timePortletRuntimeData.setLastInitFailureAccessTime(long)public final void setLastFailureAccessTime(long l)
l - timepublic final long getUnavailabilityPeriod()
getUnavailabilityPeriod in interface PortletRuntimeDataPortletRuntimeData.getUnavailabilityPeriod()public final void setUnavailabilityPeriod(long l)
l - time in milliseconds
public final boolean isDataCached(String key,
boolean isCacheGlobal)
isDataCached in interface PortletRuntimeDatakey - keyisCacheGlobal - is cache global
PortletRuntimeData.isDataCached(java.lang.String, boolean)
public final void setCachedData(String key,
CachedData cachedData,
boolean isCacheGlobal)
key - keycachedData - cached dataisCacheGlobal - is cache global
public final CachedData getCachedData(String key,
boolean isCacheGlobal)
getCachedData in interface PortletRuntimeDatakey - keyisCacheGlobal - is cache global
PortletRuntimeData.getCachedData(java.lang.String, boolean)
public final void removeCachedData(String key,
boolean isCacheGlobal)
key - keyisCacheGlobal - is cache globalpublic final int getCacheExpirationPeriod()
getCacheExpirationPeriod in interface PortletRuntimeDataPortletRuntimeData.getCacheExpirationPeriod()public final void setCacheExpirationPeriod(int t)
t - cache expiration periodpublic final long getInitializationTime()
getInitializationTime in interface PortletRuntimeDataPortletRuntimeData.getInitializationTime()public final void setInitializationTime(long l)
l - time
public final void logProcessActionRequest(long startTime,
long endTime)
startTime - start timeendTime - end time
public final void logRenderRequest(long startTime,
long endTime,
boolean cacheHit)
startTime - start timeendTime - end timecacheHit - cache hit
public final void logProcessEventRequest(long startTime,
long endTime)
startTime - start timeendTime - end time
public final void logServeResourceRequest(long startTime,
long endTime,
boolean cacheHit)
startTime - start timeendTime - end timecacheHit - cache hitpublic final PortletRequestMonitorData[] getPortletRequestMonitorData()
getPortletRequestMonitorData in interface PortletRuntimeDataPortletRuntimeData.getPortletRequestMonitorData()public final boolean isAvailable(long l)
l - time
public final boolean isInitialisationAllowed(long l)
l - time
public final long whenAvailable()
public final String getCacheScope()
getCacheScope in interface PortletRuntimeDataPortletRuntimeData.getCacheScope()public final void setCacheScope(String cacheScope)
cacheScope - cache scope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||