org.apache.cocoon.pipeline.caching
Class ParameterCacheKey
java.lang.Object
org.apache.cocoon.pipeline.caching.AbstractCacheKey
org.apache.cocoon.pipeline.caching.ParameterCacheKey
- All Implemented Interfaces:
- Serializable, CacheKey
public class ParameterCacheKey
- extends AbstractCacheKey
A CacheKey
that contains a Map
of parameters.
- See Also:
- Serialized Form
ParameterCacheKey
public ParameterCacheKey()
ParameterCacheKey
public ParameterCacheKey(Map<String,String> parameters)
ParameterCacheKey
public ParameterCacheKey(String name,
Map<?,?> value)
ParameterCacheKey
public ParameterCacheKey(String name,
String value)
addParameter
public void addParameter(String name,
boolean value)
addParameter
public void addParameter(String name,
int value)
addParameter
public void addParameter(String name,
Map<?,?> value)
addParameter
public void addParameter(String name,
String value)
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
getLastModified
public long getLastModified()
-
- See Also:
CacheKey.getLastModified()
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
isValid
public boolean isValid(CacheKey cacheKey)
-
- See Also:
CacheKey.isValid(org.apache.cocoon.pipeline.caching.CacheKey)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.