public class CacheItemAttributes
extends java.lang.Object
Constructor | Description |
---|---|
CacheItemAttributes() |
Modifier and Type | Method | Description |
---|---|---|
java.util.Date |
getAbsoluteExpiration() |
Gets absolute Expiration for the object.You can add an item to the cache with absolute expiration by specifying the exact date and time at which the item should be invalidated.
|
CacheDependency |
getDependency() |
The dependency/dependencies for the item.
|
void |
setAbsoluteExpiration(java.util.Date _absoluteExpiration) |
Sets absolute Expiration for the object.You can add an item to the cache with absolute expiration by specifying the exact date and time at which the item should be invalidated.
|
void |
setDependency(CacheDependency _d) |
The dependency/dependencies for the item.
|
public java.util.Date getAbsoluteExpiration()
public void setAbsoluteExpiration(java.util.Date _absoluteExpiration)
_absoluteExpiration
- The absolute expiration to be associated with the cache item attributes.public CacheDependency getDependency()
public void setDependency(CacheDependency _d)
_d
- CacheDependency to be associated with cache item attributes.