com.hazelcast.client
Class Packet
java.lang.Object
com.hazelcast.client.Packet
public class Packet
- extends Object
Packet
public Packet()
reset
public void reset()
writeTo
public void writeTo(PacketWriter packetWriter,
DataOutputStream outputStream)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(PacketReader packetReader,
DataInputStream dis)
throws IOException
- Throws:
IOException
set
public void set(String name,
ClusterOperation operation,
byte[] key,
byte[] value)
getKey
public byte[] getKey()
setKey
public void setKey(byte[] key)
getValue
public byte[] getValue()
setValue
public void setValue(byte[] value)
setCallId
public void setCallId(long callId)
getCallId
public long getCallId()
getName
public String getName()
setName
public void setName(String name)
getOperation
public ClusterOperation getOperation()
setOperation
public void setOperation(ClusterOperation operation)
getThreadId
public int getThreadId()
setThreadId
public void setThreadId(int threadId)
getTimeout
public long getTimeout()
setTimeout
public void setTimeout(long timeout)
getLongValue
public long getLongValue()
setLongValue
public void setLongValue(long longValue)
getResponseType
public byte getResponseType()
setResponseType
public void setResponseType(byte responseType)
getKeyHash
public int getKeyHash()
setKeyHash
public void setKeyHash(int keyHash)
getTtl
public long getTtl()
setTtl
public void setTtl(long ttl)
getValueHash
public int getValueHash()
setValueHash
public void setValueHash(int valueHash)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.