GigaSpaces XAP 10.0.1 API

org.openspaces.memcached
Class MemcachedEntry

java.lang.Object
  extended by org.openspaces.memcached.MemcachedEntry
All Implemented Interfaces:
Externalizable, Serializable

public class MemcachedEntry
extends Object
implements Externalizable

Author:
kimchy (shay.banon)
See Also:
Serialized Form

Constructor Summary
MemcachedEntry()
           
MemcachedEntry(Key key, byte[] value)
           
 
Method Summary
 int getFlags()
           
 Key getKey()
           
 byte[] getValue()
           
 int getVersion()
           
 void readExternal(ObjectInput in)
           
 void setFlags(int flags)
           
 void setKey(Key key)
           
 void setValue(byte[] value)
           
 void setVersion(int version)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemcachedEntry

public MemcachedEntry()

MemcachedEntry

public MemcachedEntry(Key key,
                      byte[] value)
Method Detail

getKey

public Key getKey()

setKey

public void setKey(Key key)

getValue

public byte[] getValue()

setValue

public void setValue(byte[] value)

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

getFlags

public int getFlags()

setFlags

public void setFlags(int flags)

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 10.0.1 API

Copyright © GigaSpaces.