|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.pipeline.caching.AbstractCacheKey
org.apache.cocoon.pipeline.caching.ExpiresCacheKey
public final class ExpiresCacheKey
A cache key implementation that expires after a defined number of seconds.
| Constructor Summary | |
|---|---|
ExpiresCacheKey(CacheKey cacheKey,
String expires)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
long |
getExpirationTimestamp()
|
long |
getLastModified()
|
int |
hashCode()
|
boolean |
isValid(CacheKey cacheKey)
|
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpiresCacheKey(CacheKey cacheKey,
String expires)
| Method Detail |
|---|
public boolean isValid(CacheKey cacheKey)
CacheKey.isValid(org.apache.cocoon.pipeline.caching.CacheKey)public long getLastModified()
CacheKey.getLastModified()public long getExpirationTimestamp()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||