public class Packet extends Object
Constructor and Description |
---|
Packet() |
Modifier and Type | Method and Description |
---|---|
long |
getCallId() |
byte[] |
getKey() |
int |
getKeyHash() |
long |
getLongValue() |
String |
getName() |
ClusterOperation |
getOperation() |
byte |
getResponseType() |
int |
getThreadId() |
long |
getTimeout() |
long |
getTtl() |
byte[] |
getValue() |
int |
getValueHash() |
void |
readFrom(PacketReader packetReader,
DataInputStream dis) |
void |
reset() |
void |
set(String name,
ClusterOperation operation,
byte[] key,
byte[] value) |
void |
setCallId(long callId) |
void |
setKey(byte[] key) |
void |
setKeyHash(int keyHash) |
void |
setLongValue(long longValue) |
void |
setName(String name) |
void |
setOperation(ClusterOperation operation) |
void |
setResponseType(byte responseType) |
void |
setThreadId(int threadId) |
void |
setTimeout(long timeout) |
void |
setTtl(long ttl) |
void |
setValue(byte[] value) |
void |
setValueHash(int valueHash) |
String |
toString() |
void |
writeTo(PacketWriter packetWriter,
DataOutputStream outputStream) |
public void reset()
public void writeTo(PacketWriter packetWriter, DataOutputStream outputStream) throws IOException
IOException
public void readFrom(PacketReader packetReader, DataInputStream dis) throws IOException
IOException
public void set(String name, ClusterOperation operation, byte[] key, byte[] value)
public byte[] getKey()
public void setKey(byte[] key)
public byte[] getValue()
public void setValue(byte[] value)
public void setCallId(long callId)
public long getCallId()
public String getName()
public void setName(String name)
public ClusterOperation getOperation()
public void setOperation(ClusterOperation operation)
public int getThreadId()
public void setThreadId(int threadId)
public long getTimeout()
public void setTimeout(long timeout)
public long getLongValue()
public void setLongValue(long longValue)
public byte getResponseType()
public void setResponseType(byte responseType)
public int getKeyHash()
public void setKeyHash(int keyHash)
public long getTtl()
public void setTtl(long ttl)
public int getValueHash()
public void setValueHash(int valueHash)
Copyright © 2013 Hazelcast, Inc.. All rights reserved.