public class SqlListenerNioServerBuffer extends Object
| Constructor and Description |
|---|
SqlListenerNioServerBuffer() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
data()
Get data withing the buffer.
|
boolean |
isFilled()
Checks whether the byte array is filled.
|
byte[] |
read(ByteBuffer buf) |
void |
reset()
Reset buffer state.
|
public void reset()
public boolean isFilled()
public byte[] data()
@Nullable public byte[] read(ByteBuffer buf) throws IgniteCheckedException
buf - Buffer.null if message is not fully read yet.IgniteCheckedException - If failed to parse message.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017