Class CachedObject
- java.lang.Object
- 
- edu.uiuc.ncsa.security.core.cache.CachedObject
 
- 
- All Implemented Interfaces:
- Comparable
 
 public class CachedObject extends Object implements Comparable Class the contains a cacheable object. These are what is stored in the cache and are comparable by their timestamps.Created by Jeff Gaynor 
 on Nov 11, 2010 at 1:02:39 PM
- 
- 
Constructor SummaryConstructors Constructor Description CachedObject()CachedObject(String key, Object value)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object o)booleanequals(Object obj)StringgetKey()longgetTime()DategetTimestamp()ObjectgetValue()voidsetKey(String key)voidsetTimestamp(Date timestamp)voidsetValue(Object value)
 
- 
- 
- 
Method Detail- 
getValuepublic Object getValue() 
 - 
setValuepublic void setValue(Object value) 
 - 
setKeypublic void setKey(String key) 
 - 
getKeypublic String getKey() 
 - 
getTimestamppublic Date getTimestamp() 
 - 
getTimepublic long getTime() 
 - 
compareTopublic int compareTo(Object o) - Specified by:
- compareToin interface- Comparable
 
 - 
setTimestamppublic void setTimestamp(Date timestamp) 
 
- 
 
-