Package com.jalios.jcms
Class CacheManager.CacheEntry
- java.lang.Object
-
- com.jalios.jcms.CacheManager.CacheEntry
-
- Enclosing class:
- CacheManager
public static class CacheManager.CacheEntry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CacheEntry(java.lang.String id, boolean sessionScope, java.lang.String sessionId, java.lang.String content, java.lang.Class<?>[] classes, long timeout, java.util.Map<?,?> extraInfoMap, java.lang.String serverCacheConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearContent()java.lang.Class<?>[]getClasses()Get the value of classes.java.lang.StringgetConfiguration()Retrieve the custom configuration used for this cachejava.lang.StringgetContent()Get the value of content.longgetContentSize()Get the value of content.java.util.DategetDate()Get the value of date.java.util.Map<?,?>getExtraInfoMap()Get the value of extraInfoMap.java.lang.StringgetId()Get the value of id.booleangetSessionScope()Get the value of sessionScope.longgetTimeout()Get the value of timeout.voidstoreContent(java.lang.String content)java.lang.StringtoString()
-
-
-
Method Detail
-
storeContent
public void storeContent(java.lang.String content)
-
clearContent
public void clearContent()
-
getId
public java.lang.String getId()
Get the value of id.- Returns:
- Value of id.
-
getSessionScope
public boolean getSessionScope()
Get the value of sessionScope.- Returns:
- Value of sessionScope.
-
getContent
public java.lang.String getContent()
Get the value of content.- Returns:
- Value of content.
-
getContentSize
public long getContentSize()
Get the value of content.- Returns:
- Value of content.
-
getClasses
public java.lang.Class<?>[] getClasses()
Get the value of classes.- Returns:
- Value of classes.
-
getDate
public java.util.Date getDate()
Get the value of date.- Returns:
- Value of date.
-
getTimeout
public long getTimeout()
Get the value of timeout.- Returns:
- Value of timeout.
-
getExtraInfoMap
public java.util.Map<?,?> getExtraInfoMap()
Get the value of extraInfoMap.- Returns:
- Value of extraInfoMap.
-
getConfiguration
public java.lang.String getConfiguration()
Retrieve the custom configuration used for this cache- Returns:
- the name of the custom configuration being used, or null if none was specified
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-