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, TOUCHED, VALUE_SPACE
Constructor and Description |
---|
MemcacheEntry() |
MemcacheEntry(String key,
byte[] value,
int flag) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes() |
int |
getFlag() |
byte[] |
getValue() |
int |
hashCode() |
void |
readData(ObjectDataInput in) |
ByteBuffer |
toNewBuffer() |
String |
toString() |
void |
writeData(ObjectDataOutput out) |
public MemcacheEntry(String key, byte[] value, int flag)
public MemcacheEntry()
public void readData(ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
public void writeData(ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public ByteBuffer toNewBuffer()
public int getFlag()
public byte[] getBytes()
public byte[] getValue()
Copyright © 2014 Hazelcast, Inc.. All rights reserved.