org.openspaces.memcached
Class MemcachedEntry
java.lang.Object
  
org.openspaces.memcached.MemcachedEntry
- All Implemented Interfaces: 
 - Externalizable, Serializable
 
public class MemcachedEntry
- extends Object
- implements Externalizable
  
- Author:
 
  - kimchy (shay.banon)
 
- See Also:
 - Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MemcachedEntry
public MemcachedEntry()
MemcachedEntry
public MemcachedEntry(Key key,
                      byte[] value)
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
 
Copyright © GigaSpaces.