public class CacheEntry extends Object
Constructor and Description |
---|
CacheEntry(String value,
Date validTill) |
Modifier and Type | Method and Description |
---|---|
Date |
getValidTill()
Returns the date that's the last moment in time the value obtained via getValue() is valid.
|
String |
getValue()
Returns the value for which this object is keeping meta data
|
boolean |
isValid()
Returns whether this entry holds a valid value.
|
public String getValue()
public Date getValidTill()
public boolean isValid()