com.alachisoft.jvcache.runtime.caching
Class CacheItemAttributes

java.lang.Object
  extended by com.alachisoft.jvcache.runtime.caching.CacheItemAttributes

public class CacheItemAttributes
extends java.lang.Object

Set Cache Item Attributes to be update in cache


Constructor Summary
CacheItemAttributes()
           
 
Method Summary
 java.util.Date getAbsoluteExpiration()
          Gets Absolute Expiration for the object
 CacheDependency getDependency()
          The file or cache key dependencies for the item.
 void setAbsoluteExpiration(java.util.Date _absoluteExpiration)
          Sets the Absolute expiration for the object
 void setDependency(CacheDependency _d)
          The file or cache key dependencies for the item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheItemAttributes

public CacheItemAttributes()
Method Detail

getAbsoluteExpiration

public java.util.Date getAbsoluteExpiration()
Gets Absolute Expiration for the object

Returns:
Absolute Expiration

getDependency

public CacheDependency getDependency()
The file or cache key dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies , this property contains a null.

Returns:
CacheDependency

setAbsoluteExpiration

public void setAbsoluteExpiration(java.util.Date _absoluteExpiration)
Sets the Absolute expiration for the object

Parameters:
_absoluteExpiration - Absolute Expiration

setDependency

public void setDependency(CacheDependency _d)
The file or cache key dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies , this property contains a null.

Parameters:
_d - Cache Dependency