eXo Kernel :: Component :: Cache Service 2.4.10-UXP01

org.exoplatform.services.cache.invalidation
Class InvalidationExoCache.HashCode<V>

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

Constructor Summary
InvalidationExoCache.HashCode()
           
InvalidationExoCache.HashCode(V value)
           
 
Method Summary
 boolean equals(Object obj)
           
 V getValue()
           
 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

InvalidationExoCache.HashCode

public InvalidationExoCache.HashCode()

InvalidationExoCache.HashCode

public InvalidationExoCache.HashCode(V value)
Method Detail

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()

eXo Kernel :: Component :: Cache Service 2.4.10-UXP01

Copyright © 2014 eXo Platform SAS. All Rights Reserved.