Package org.apache.ibatis.cache
Class CacheKey
- java.lang.Object
-
- org.apache.ibatis.cache.CacheKey
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
NullCacheKey
public class CacheKey extends Object implements Cloneable, Serializable
- Author:
- Clinton Begin
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CacheKeyNULL_CACHE_KEY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheKeyclone()booleanequals(Object object)intgetUpdateCount()inthashCode()StringtoString()voidupdate(Object object)voidupdateAll(Object[] objects)
-
-
-
Field Detail
-
NULL_CACHE_KEY
public static final CacheKey NULL_CACHE_KEY
-
-
Constructor Detail
-
CacheKey
public CacheKey()
-
CacheKey
public CacheKey(Object[] objects)
-
-
Method Detail
-
getUpdateCount
public int getUpdateCount()
-
update
public void update(Object object)
-
updateAll
public void updateAll(Object[] objects)
-
clone
public CacheKey clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-