org.apache.cocoon.pipeline.caching
Class TimestampCacheKey
java.lang.Object
org.apache.cocoon.pipeline.caching.TimestampCacheKey
- All Implemented Interfaces:
- CacheKey
public class TimestampCacheKey
- extends Object
- implements CacheKey
TimestampCacheKey
public TimestampCacheKey(URL url,
long timestamp)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getTimestamp
public long getTimestamp()
getLastModifed
public long getLastModifed()
- Specified by:
getLastModifed
in interface CacheKey
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isValid
public boolean isValid(CacheKey cacheKey)
- Specified by:
isValid
in interface CacheKey
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.