com.hazelcast.client.impl.protocol.util
public class MessageFlyweight extends Object
Modifier and Type | Field and Description |
---|---|
protected ClientProtocolBuffer |
buffer |
Constructor and Description |
---|
MessageFlyweight() |
Modifier and Type | Method and Description |
---|---|
ClientProtocolBuffer |
buffer() |
boolean |
getBoolean() |
byte[] |
getByteArray() |
Data |
getData() |
List<Data> |
getDataList() |
Set<Data> |
getDataSet() |
int |
getInt() |
long |
getLong() |
String |
getStringUtf8() |
int |
index() |
MessageFlyweight |
index(int index) |
protected int |
int32Get(int index) |
protected void |
int32Set(int index,
int length) |
MessageFlyweight |
set(boolean value) |
MessageFlyweight |
set(byte[] value) |
MessageFlyweight |
set(Collection<Data> value) |
MessageFlyweight |
set(Data data) |
MessageFlyweight |
set(int value) |
MessageFlyweight |
set(long value) |
MessageFlyweight |
set(String value) |
protected int |
uint16Get(int index) |
protected void |
uint16Put(int index,
int value) |
protected long |
uint32Get(int index) |
protected void |
uint32Put(int index,
long value) |
protected short |
uint8Get(int index) |
protected void |
uint8Put(int index,
short value) |
MessageFlyweight |
wrap(ClientProtocolBuffer buffer,
int offset) |
protected ClientProtocolBuffer buffer
public MessageFlyweight wrap(ClientProtocolBuffer buffer, int offset)
public int index()
public MessageFlyweight index(int index)
public ClientProtocolBuffer buffer()
public MessageFlyweight set(boolean value)
public MessageFlyweight set(int value)
public MessageFlyweight set(long value)
public MessageFlyweight set(String value)
public MessageFlyweight set(Data data)
public MessageFlyweight set(byte[] value)
public MessageFlyweight set(Collection<Data> value)
public boolean getBoolean()
public int getInt()
public long getLong()
public String getStringUtf8()
public byte[] getByteArray()
public Data getData()
protected int int32Get(int index)
protected void int32Set(int index, int length)
protected short uint8Get(int index)
protected void uint8Put(int index, short value)
protected int uint16Get(int index)
protected void uint16Put(int index, int value)
protected long uint32Get(int index)
protected void uint32Put(int index, long value)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.