com.servingxml.components.cache
Class CacheExpiry

java.lang.Object
  extended by com.servingxml.components.cache.CacheExpiry

public class CacheExpiry
extends java.lang.Object


Field Summary
static CacheExpiry IMMEDIATE_EXPIRY
           
static CacheExpiry NEVER_EXPIRES
           
 
Constructor Summary
CacheExpiry()
           
CacheExpiry(long delay, boolean changed)
           
 
Method Summary
 long getInterval()
           
 java.lang.String toString()
           
 boolean whenChanged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IMMEDIATE_EXPIRY

public static final CacheExpiry IMMEDIATE_EXPIRY

NEVER_EXPIRES

public static final CacheExpiry NEVER_EXPIRES
Constructor Detail

CacheExpiry

public CacheExpiry(long delay,
                   boolean changed)

CacheExpiry

public CacheExpiry()
Method Detail

getInterval

public final long getInterval()

whenChanged

public final boolean whenChanged()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object