org.exoplatform.services.cache.invalidation
Class InvalidationExoCache.HashCode<V>
java.lang.Object
org.exoplatform.services.cache.invalidation.InvalidationExoCache.HashCode<V>
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- InvalidationExoCache<K extends Serializable,V>
public static class InvalidationExoCache.HashCode<V>
- extends Object
- implements Externalizable
We use this class to propagate the hash code of the value efficiently over the network
- See Also:
- Serialized Form
InvalidationExoCache.HashCode
public InvalidationExoCache.HashCode()
InvalidationExoCache.HashCode
public InvalidationExoCache.HashCode(V value)
getValue
public V getValue()
- Returns:
- the value
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException- See Also:
Externalizable.readExternal(java.io.ObjectInput)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
- See Also:
Object.equals(java.lang.Object)
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2012 eXo Platform SAS. All Rights Reserved.