org.apache.cocoon.pipeline.caching
Class ExpiresCacheKey
java.lang.Object
org.apache.cocoon.pipeline.caching.AbstractCacheKey
org.apache.cocoon.pipeline.caching.ExpiresCacheKey
- All Implemented Interfaces:
- Serializable, CacheKey
public final class ExpiresCacheKey
- extends AbstractCacheKey
A cache key implementation that expires after a defined number of seconds.
- See Also:
- Serialized Form
ExpiresCacheKey
public ExpiresCacheKey(CacheKey cacheKey,
String expires)
isValid
public boolean isValid(CacheKey cacheKey)
-
- See Also:
CacheKey.isValid(org.apache.cocoon.pipeline.caching.CacheKey)
getLastModified
public long getLastModified()
-
- See Also:
CacheKey.getLastModified()
getExpirationTimestamp
public long getExpirationTimestamp()
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.