Class 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
      void clearContent()  
      java.lang.Class<?>[] getClasses()
      Get the value of classes.
      java.lang.String getConfiguration()
      Retrieve the custom configuration used for this cache
      java.lang.String getContent()
      Get the value of content.
      long getContentSize()
      Get the value of content.
      java.util.Date getDate()
      Get the value of date.
      java.util.Map<?,​?> getExtraInfoMap()
      Get the value of extraInfoMap.
      java.lang.String getId()
      Get the value of id.
      boolean getSessionScope()
      Get the value of sessionScope.
      long getTimeout()
      Get the value of timeout.
      void storeContent​(java.lang.String content)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CacheEntry

        public 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 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:
        toString in class java.lang.Object