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 |
getByte() |
byte[] |
getByteArray() |
Data |
getData() |
List<Data> |
getDataList() |
int |
getInt() |
long |
getLong() |
String |
getStringUtf8() |
int |
index() |
MessageFlyweight |
index(int index) |
protected int |
int32Get(int index) |
protected void |
int32Set(int index,
int value) |
protected long |
int64Get(int index) |
protected void |
int64Set(int index,
long value) |
MessageFlyweight |
set(boolean value) |
MessageFlyweight |
set(byte value) |
MessageFlyweight |
set(byte[] value) |
MessageFlyweight |
set(Collection<Data> value) |
MessageFlyweight |
set(Data data) |
MessageFlyweight |
set(int value) |
MessageFlyweight |
set(long value) |
MessageFlyweight |
set(Map.Entry<Data,Data> entry) |
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(byte[] buffer,
int offset,
boolean useUnsafe) |
protected ClientProtocolBuffer buffer
public MessageFlyweight wrap(byte[] buffer, int offset, boolean useUnsafe)
public int index()
public MessageFlyweight index(int index)
public ClientProtocolBuffer buffer()
public MessageFlyweight set(boolean value)
public MessageFlyweight set(byte 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 MessageFlyweight set(Map.Entry<Data,Data> entry)
public boolean getBoolean()
public byte getByte()
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 value)
protected long int64Get(int index)
protected void int64Set(int index, long value)
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 © 2022 Hazelcast, Inc.. All Rights Reserved.