org.infinispan.server.memcached.commands
Class Value

java.lang.Object
  extended by org.infinispan.server.memcached.commands.Value
All Implemented Interfaces:
Externalizable, Serializable

public class Value
extends Object
implements Externalizable

Value.

Since:
4.1
Author:
Galder ZamarreƱo
See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 long getCas()
           
 byte[] getData()
           
 int getFlags()
           
 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
 

Method Detail

getFlags

public int getFlags()

getData

public byte[] getData()

getCas

public long getCas()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.