public class MemcacheEntry extends Object implements DataSerializable, TextCommandConstants
TextCommandConstants.TextCommandType
CLIENT_ERROR, DELETED, END, ERROR, FLAG_ZERO, MONTH_SECONDS, NOT_FOUND, NOT_STORED, RETURN, RETURN_END, SERVER_ERROR, SPACE, STORED, VALUE_SPACE
Constructor and Description |
---|
MemcacheEntry() |
MemcacheEntry(String key,
byte[] value,
int flag) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
int |
getFlag() |
void |
readData(DataInput in) |
ByteBuffer |
toNewBuffer() |
String |
toString() |
void |
writeData(DataOutput out) |
public MemcacheEntry(String key, byte[] value, int flag)
public MemcacheEntry()
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public ByteBuffer toNewBuffer()
public int getFlag()
public byte[] getBytes()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.