org.apache.ibatis.cache
Class CacheKey

java.lang.Object
  extended by org.apache.ibatis.cache.CacheKey
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
NullCacheKey

public class CacheKey
extends Object
implements Cloneable


Field Summary
static CacheKey NULL_CACHE_KEY
           
 
Constructor Summary
CacheKey()
           
CacheKey(Object[] objects)
           
 
Method Summary
 CacheKey clone()
           
 boolean equals(Object object)
           
 int getUpdateCount()
           
 int hashCode()
           
 String toString()
           
 void update(Object object)
           
 void updateAll(Object[] objects)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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)

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

clone

public CacheKey clone()
               throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.