com.jdon.controller.cache
Class CacheKey
java.lang.Object
com.jdon.controller.cache.CacheKey
- All Implemented Interfaces:
- StringKey
public class CacheKey
- extends java.lang.Object
- implements StringKey
Instances of the ObjectKey class identify the object
that will be fetched from the cache.
- Version:
- 1.0
|
Constructor Summary |
CacheKey(java.lang.String cacheType,
java.lang.Object dataKey,
java.lang.String dataTypeName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CacheKey
public CacheKey(java.lang.String cacheType,
java.lang.Object dataKey,
java.lang.String dataTypeName)
getCacheType
public java.lang.String getCacheType()
getDataKey
public java.lang.Object getDataKey()
getDataTypeName
public java.lang.String getDataTypeName()
setCacheType
public void setCacheType(java.lang.String cacheType)
setDataKey
public void setDataKey(java.lang.Object dataKey)
setDataTypeName
public void setDataTypeName(java.lang.String dataTypeName)
toString
public java.lang.String toString()
- Specified by:
toString in interface StringKey- Overrides:
toString in class java.lang.Object