Package com.adobe.aemds.guide.cache
Class CacheObject
- java.lang.Object
-
- com.adobe.aemds.guide.cache.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 constructedCacheObject(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 Cachedjava.util.Calendar
getLastModifiedTime()
Returns the LMT of the Cached Object
-
-
-
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 cachedLMT
- 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
-
-