Class CacheEntry

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    BufferedImageCacheEntry

    public class CacheEntry
    extends java.lang.Object
    implements java.io.Serializable
    Class that will hold JCS cache entries
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] content  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheEntry​(byte[] content)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()
      Returns cache entry content.
      • Methods inherited from class java.lang.Object

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

      • CacheEntry

        public CacheEntry​(byte[] content)
        Parameters:
        content - of the cache entry
    • Method Detail

      • getContent

        public byte[] getContent()
        Returns cache entry content.
        Returns:
        cache entry content