GigaSpaces XAP 9.7.2 API

org.openspaces.hibernate.cache
Class CacheKey

java.lang.Object
  extended by 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

Constructor Summary
CacheKey()
           
CacheKey(String regionName, Object key)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheKey

public CacheKey()

CacheKey

public CacheKey(String regionName,
                Object key)
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.