Class CacheObject


  • public class CacheObject
    extends java.lang.Object
    Wrapper class for Caching Objects in the GuideCache. The Instance stores the actual object
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheObject​(java.lang.Object value)
      Constructs a new CacheObject that wraps the original value and LMT to be the time when this wrapper is constructed
      CacheObject​(java.lang.Object value, java.util.Calendar LMT)
      Constructs a new CacheObject that wraps the original value and the Last Modified Time
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getCacheObject()
      Returns the Object Cached
      java.util.Calendar getLastModifiedTime()
      Returns the LMT of the Cached Object
      • Methods inherited from class java.lang.Object

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

      • CacheObject

        public CacheObject​(java.lang.Object value,
                           java.util.Calendar LMT)
        Constructs a new CacheObject that wraps the original value and the Last Modified Time
        Parameters:
        value - object to be cached
        LMT - Last Modified Time for the Cached Object
      • CacheObject

        public CacheObject​(java.lang.Object value)
        Constructs a new CacheObject that wraps the original value and LMT to be the time when this wrapper is constructed
        Parameters:
        value - object to be cached
    • Method Detail

      • getCacheObject

        public java.lang.Object getCacheObject()
        Returns the Object Cached
        Returns:
        Returns the Object Cached
      • getLastModifiedTime

        public java.util.Calendar getLastModifiedTime()
        Returns the LMT of the Cached Object
        Returns:
        Returns the LMT of the Cached Object