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.
|
CacheDependency |
getDependency() |
The dependency/dependencies for the item.
|
void |
setAbsoluteExpiration(java.util.Date _absoluteExpiration) |
Sets absolute expiration for the object.
|
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.