Uses of Interface
org.apache.activemq.artemis.api.core.ActiveMQBuffer
-
-
Uses of ActiveMQBuffer in org.apache.activemq.artemis.api.core
Methods in org.apache.activemq.artemis.api.core that return ActiveMQBuffer Modifier and Type Method Description ActiveMQBufferActiveMQBuffer. copy()Returns a copy of this buffer's readable bytes.ActiveMQBufferActiveMQBuffer. copy(int index, int length)Returns a copy of this buffer's sub-region.ActiveMQBufferActiveMQBuffer. duplicate()Returns a buffer which shares the whole region of this buffer.static ActiveMQBufferActiveMQBuffers. dynamicBuffer(byte[] bytes)Creates a self-expanding ActiveMQBuffer filled with the given byte arraystatic ActiveMQBufferActiveMQBuffers. dynamicBuffer(int size)Creates a self-expanding ActiveMQBuffer with the given initial sizestatic ActiveMQBufferActiveMQBuffers. fixedBuffer(int size)Creates a fixed ActiveMQBuffer of the given sizestatic ActiveMQBufferActiveMQBuffers. pooledBuffer(int size)ActiveMQBufferActiveMQBuffer. readSlice(int length)Returns a new slice of this buffer's sub-region starting at the currentreaderIndexand increases thereaderIndexby the size of the new slice (=length).ActiveMQBufferActiveMQBuffer. slice()Returns a slice of this buffer's readable bytes.ActiveMQBufferActiveMQBuffer. slice(int index, int length)Returns a slice of this buffer's sub-region.static ActiveMQBufferActiveMQBuffers. wrappedBuffer(byte[] underlying)Creates an ActiveMQBuffer wrapping an underlying byte arraystatic ActiveMQBufferActiveMQBuffers. wrappedBuffer(io.netty.buffer.ByteBuf underlying)Creates an ActiveMQBuffer wrapping an underlying ByteBuf The position on this buffer won't affect the position on the inner bufferstatic ActiveMQBufferActiveMQBuffers. wrappedBuffer(ByteBuffer underlying)Creates an ActiveMQBuffer wrapping an underlying NIO ByteBuffer The position on this buffer won't affect the position on the inner bufferMethods in org.apache.activemq.artemis.api.core with parameters of type ActiveMQBuffer Modifier and Type Method Description voidActiveMQBuffer. getBytes(int index, ActiveMQBuffer dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindexuntil the destination becomes non-writable.voidActiveMQBuffer. getBytes(int index, ActiveMQBuffer dst, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.voidActiveMQBuffer. getBytes(int index, ActiveMQBuffer dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.voidActiveMQBuffer. readBytes(ActiveMQBuffer dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexuntil the destination becomes non-writable, and increases thereaderIndexby the number of the transferred bytes.voidActiveMQBuffer. readBytes(ActiveMQBuffer dst, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).voidActiveMQBuffer. readBytes(ActiveMQBuffer dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).voidActiveMQBuffer. setBytes(int index, ActiveMQBuffer src)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindexuntil the destination becomes unreadable.voidActiveMQBuffer. setBytes(int index, ActiveMQBuffer src, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.voidActiveMQBuffer. setBytes(int index, ActiveMQBuffer src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.voidActiveMQBuffer. writeBytes(ActiveMQBuffer src, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).voidActiveMQBuffer. writeBytes(ActiveMQBuffer src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length). -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.core.buffers.impl
Classes in org.apache.activemq.artemis.core.buffers.impl that implement ActiveMQBuffer Modifier and Type Class Description classChannelBufferWrapperMethods in org.apache.activemq.artemis.core.buffers.impl that return ActiveMQBuffer Modifier and Type Method Description ActiveMQBufferChannelBufferWrapper. copy()ActiveMQBufferChannelBufferWrapper. copy(int index, int length)ActiveMQBufferChannelBufferWrapper. duplicate()ActiveMQBufferChannelBufferWrapper. readSlice(int length)ActiveMQBufferChannelBufferWrapper. slice()ActiveMQBufferChannelBufferWrapper. slice(int index, int length)Methods in org.apache.activemq.artemis.core.buffers.impl with parameters of type ActiveMQBuffer Modifier and Type Method Description voidChannelBufferWrapper. getBytes(int index, ActiveMQBuffer dst)voidChannelBufferWrapper. getBytes(int index, ActiveMQBuffer dst, int length)voidChannelBufferWrapper. getBytes(int index, ActiveMQBuffer dst, int dstIndex, int length)voidChannelBufferWrapper. readBytes(ActiveMQBuffer dst)voidChannelBufferWrapper. readBytes(ActiveMQBuffer dst, int length)voidChannelBufferWrapper. readBytes(ActiveMQBuffer dst, int dstIndex, int length)voidChannelBufferWrapper. setBytes(int index, ActiveMQBuffer src)voidChannelBufferWrapper. setBytes(int index, ActiveMQBuffer src, int length)voidChannelBufferWrapper. setBytes(int index, ActiveMQBuffer src, int srcIndex, int length)voidChannelBufferWrapper. writeBytes(ActiveMQBuffer src, int length)voidChannelBufferWrapper. writeBytes(ActiveMQBuffer src, int srcIndex, int length) -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.core.persistence
Methods in org.apache.activemq.artemis.core.persistence with parameters of type ActiveMQBuffer Modifier and Type Method Description TPersister. decode(ActiveMQBuffer buffer, T record, CoreMessageObjectPools pool)voidPersister. encode(ActiveMQBuffer buffer, T record) -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.utils
Methods in org.apache.activemq.artemis.utils that return ActiveMQBuffer Modifier and Type Method Description static ActiveMQBufferRandomUtil. randomBuffer(int size, long... data)Methods in org.apache.activemq.artemis.utils with parameters of type ActiveMQBuffer Modifier and Type Method Description static StringByteUtil. readLine(ActiveMQBuffer buffer)static StringUTF8Util. readUTF(ActiveMQBuffer input)
-