Package | Description |
---|---|
org.hornetq.api.core | |
org.hornetq.core.buffers.impl | |
org.hornetq.utils |
Modifier and Type | Method and Description |
---|---|
HornetQBuffer |
HornetQBuffer.copy()
Returns a copy of this buffer's readable bytes.
|
HornetQBuffer |
HornetQBuffer.copy(int index,
int length)
Returns a copy of this buffer's sub-region.
|
HornetQBuffer |
HornetQBuffer.duplicate()
Returns a buffer which shares the whole region of this buffer.
|
static HornetQBuffer |
HornetQBuffers.dynamicBuffer(byte[] bytes)
Creates a self-expanding HornetQBuffer filled with the given byte array
|
static HornetQBuffer |
HornetQBuffers.dynamicBuffer(int size)
Creates a self-expanding HornetQBuffer with the given initial size
|
static HornetQBuffer |
HornetQBuffers.fixedBuffer(int size)
Creates a fixed HornetQBuffer of the given size
|
HornetQBuffer |
HornetQBuffer.readBytes(int length)
Transfers this buffer's data to a newly created buffer starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
HornetQBuffer |
HornetQBuffer.readSlice(int length)
Returns a new slice of this buffer's sub-region starting at the current
readerIndex and increases the readerIndex by the size
of the new slice (= length ). |
HornetQBuffer |
HornetQBuffer.slice()
Returns a slice of this buffer's readable bytes.
|
HornetQBuffer |
HornetQBuffer.slice(int index,
int length)
Returns a slice of this buffer's sub-region.
|
static HornetQBuffer |
HornetQBuffers.wrappedBuffer(byte[] underlying)
Creates a HornetQBuffer wrapping an underlying byte array
|
static HornetQBuffer |
HornetQBuffers.wrappedBuffer(ByteBuffer underlying)
Creates a HornetQBuffer wrapping an underlying NIO ByteBuffer
The position on this buffer won't affect the position on the inner buffer
|
Modifier and Type | Method and Description |
---|---|
void |
HornetQBuffer.getBytes(int index,
HornetQBuffer dst)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index until the destination becomes
non-writable. |
void |
HornetQBuffer.getBytes(int index,
HornetQBuffer dst,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
void |
HornetQBuffer.getBytes(int index,
HornetQBuffer dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
void |
HornetQBuffer.readBytes(HornetQBuffer dst)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex until the destination becomes
non-writable, and increases the readerIndex by the number of the
transferred bytes. |
void |
HornetQBuffer.readBytes(HornetQBuffer dst,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
void |
HornetQBuffer.readBytes(HornetQBuffer dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
void |
HornetQBuffer.setBytes(int index,
HornetQBuffer src)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index until the destination becomes
unreadable. |
void |
HornetQBuffer.setBytes(int index,
HornetQBuffer src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index . |
void |
HornetQBuffer.setBytes(int index,
HornetQBuffer src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index . |
void |
HornetQBuffer.writeBytes(HornetQBuffer src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
void |
HornetQBuffer.writeBytes(HornetQBuffer src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
Modifier and Type | Class and Description |
---|---|
class |
ChannelBufferWrapper
A ChannelBufferWrapper
|
Modifier and Type | Method and Description |
---|---|
HornetQBuffer |
ChannelBufferWrapper.copy() |
HornetQBuffer |
ChannelBufferWrapper.copy(int index,
int length) |
HornetQBuffer |
ChannelBufferWrapper.duplicate() |
HornetQBuffer |
ChannelBufferWrapper.readBytes(int length) |
HornetQBuffer |
ChannelBufferWrapper.readSlice(int length) |
HornetQBuffer |
ChannelBufferWrapper.slice() |
HornetQBuffer |
ChannelBufferWrapper.slice(int index,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
ChannelBufferWrapper.getBytes(int index,
HornetQBuffer dst) |
void |
ChannelBufferWrapper.getBytes(int index,
HornetQBuffer dst,
int length) |
void |
ChannelBufferWrapper.getBytes(int index,
HornetQBuffer dst,
int dstIndex,
int length) |
void |
ChannelBufferWrapper.readBytes(HornetQBuffer dst) |
void |
ChannelBufferWrapper.readBytes(HornetQBuffer dst,
int length) |
void |
ChannelBufferWrapper.readBytes(HornetQBuffer dst,
int dstIndex,
int length) |
void |
ChannelBufferWrapper.setBytes(int index,
HornetQBuffer src) |
void |
ChannelBufferWrapper.setBytes(int index,
HornetQBuffer src,
int length) |
void |
ChannelBufferWrapper.setBytes(int index,
HornetQBuffer src,
int srcIndex,
int length) |
void |
ChannelBufferWrapper.writeBytes(HornetQBuffer src,
int length) |
void |
ChannelBufferWrapper.writeBytes(HornetQBuffer src,
int srcIndex,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
TypedProperties.decode(HornetQBuffer buffer) |
void |
TypedProperties.encode(HornetQBuffer buffer) |
static String |
UTF8Util.readUTF(HornetQBuffer input) |
static void |
UTF8Util.saveUTF(HornetQBuffer out,
String str) |
Copyright © 2016 JBoss, a division of Red Hat. All Rights Reserved.