org.apache.cocoon.pipeline.caching
Class TimestampCacheKey

java.lang.Object
  extended by org.apache.cocoon.pipeline.caching.AbstractCacheKey
      extended by org.apache.cocoon.pipeline.caching.TimestampCacheKey
All Implemented Interfaces:
Serializable, CacheKey

public class TimestampCacheKey
extends AbstractCacheKey

See Also:
Serialized Form

Constructor Summary
TimestampCacheKey(URL url, long timestamp)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getLastModified()
           
 long getTimestamp()
           
 int hashCode()
           
 boolean isValid(CacheKey cacheKey)
           
 String toString()
           
 
Methods inherited from class org.apache.cocoon.pipeline.caching.AbstractCacheKey
getJmxGroupName, hasJmxGroupName, setJmxGroupName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimestampCacheKey

public TimestampCacheKey(URL url,
                         long timestamp)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getTimestamp

public long getTimestamp()

getLastModified

public long getLastModified()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isValid

public boolean isValid(CacheKey cacheKey)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.