info.magnolia.module.cache
Class DefaultCacheKey
java.lang.Object
info.magnolia.module.cache.DefaultCacheKey
- All Implemented Interfaces:
- Serializable
public class DefaultCacheKey
- extends Object
- implements Serializable
Default cache key implementation. Key is based on the URI, server name, parameters and request headers. Since the server name is likely to change from server to server, copying cached items around will most likely not help to avoid generating cache entries.
- Version:
- $Id:$
- Author:
- had
- See Also:
- Serialized Form
Constructor Summary |
DefaultCacheKey(String uri,
String serverName,
String locale,
Map<String,String> params)
Deprecated. since 4.4.6 use info.magnolia.module.cache.DefaultCacheKey.DefaultCacheKey(String, String, String, Map, Boolean) |
DefaultCacheKey(String uri,
String serverName,
String locale,
Map<String,String> params,
Boolean isSecure)
|
DefaultCacheKey
@Deprecated
public DefaultCacheKey(String uri,
String serverName,
String locale,
Map<String,String> params)
- Deprecated. since 4.4.6 use info.magnolia.module.cache.DefaultCacheKey.DefaultCacheKey(String, String, String, Map, Boolean)
DefaultCacheKey
public DefaultCacheKey(String uri,
String serverName,
String locale,
Map<String,String> params,
Boolean isSecure)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getUri
public String getUri()
getDomain
public String getDomain()
getLocale
public String getLocale()
getParams
public Map<String,String> getParams()
getIsSecured
public Boolean getIsSecured()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.