org.openspaces.hibernate.cache
Class CacheKey
java.lang.Object
org.openspaces.hibernate.cache.CacheKey
- All Implemented Interfaces:
- Externalizable, Serializable
public class CacheKey
- extends Object
- implements Externalizable
A cache key object acting as the key for the cache.
- Author:
- kimchy
- See Also:
- Serialized Form
CacheKey
public CacheKey()
CacheKey
public CacheKey(String regionName,
Object key)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © GigaSpaces.