Class CacheManager.CacheEntry

java.lang.Object
com.jalios.jcms.CacheManager.CacheEntry
Enclosing class:
CacheManager

public static class CacheManager.CacheEntry extends Object
  • Constructor Details

    • CacheEntry

      public CacheEntry(String id, boolean sessionScope, String sessionId, String content, Class<?>[] classes, long timeout, Map<?,?> extraInfoMap, String serverCacheConfig)
  • Method Details

    • storeContent

      public void storeContent(String content)
    • clearContent

      public void clearContent()
    • getId

      public 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 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 Class<?>[] getClasses()
      Get the value of classes.
      Returns:
      Value of classes.
    • getDate

      public 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 Map<?,?> getExtraInfoMap()
      Get the value of extraInfoMap.
      Returns:
      Value of extraInfoMap.
    • getConfiguration

      public 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 String toString()
      Overrides:
      toString in class Object