Uses of Interface
org.apache.activemq.artemis.api.core.ActiveMQBuffer

  • Uses of ActiveMQBuffer in org.apache.activemq.artemis.api.core

    Modifier and Type
    Method
    Description
    ActiveMQBuffer.copy()
    Returns a copy of this buffer's readable bytes.
    ActiveMQBuffer.copy(int index, int length)
    Returns a copy of this buffer's sub-region.
    ActiveMQBuffer.duplicate()
    Returns a buffer which shares the whole region of this buffer.
    ActiveMQBuffers.dynamicBuffer(byte[] bytes)
    Creates a self-expanding ActiveMQBuffer filled with the given byte array
    ActiveMQBuffers.dynamicBuffer(int size)
    Creates a self-expanding ActiveMQBuffer with the given initial size
    ActiveMQBuffers.fixedBuffer(int size)
    Creates a fixed ActiveMQBuffer of the given size
    ActiveMQBuffers.pooledBuffer(int size)
     
    ActiveMQBuffer.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).
    ActiveMQBuffer.slice()
    Returns a slice of this buffer's readable bytes.
    ActiveMQBuffer.slice(int index, int length)
    Returns a slice of this buffer's sub-region.
    ActiveMQBuffers.wrappedBuffer(byte[] underlying)
    Creates an ActiveMQBuffer wrapping an underlying byte array
    ActiveMQBuffers.wrappedBuffer(io.netty.buffer.ByteBuf underlying)
    Creates an ActiveMQBuffer wrapping an underlying ByteBuf
    ActiveMQBuffers.wrappedBuffer(ByteBuffer underlying)
    Creates an ActiveMQBuffer wrapping an underlying NIO ByteBuffer
    Methods in org.apache.activemq.artemis.api.core with parameters of type ActiveMQBuffer
    Modifier and Type
    Method
    Description
    void
    ActiveMQBuffer.getBytes(int index, ActiveMQBuffer dst)
    Transfers this buffer's data to the specified destination starting at the specified absolute index until the destination becomes non-writable.
    void
    ActiveMQBuffer.getBytes(int index, ActiveMQBuffer dst, int length)
    Transfers this buffer's data to the specified destination starting at the specified absolute index.
    void
    ActiveMQBuffer.getBytes(int index, ActiveMQBuffer dst, int dstIndex, int length)
    Transfers this buffer's data to the specified destination starting at the specified absolute index.
    void
    ActiveMQBuffer.readBytes(ActiveMQBuffer 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
    ActiveMQBuffer.readBytes(ActiveMQBuffer 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
    ActiveMQBuffer.readBytes(ActiveMQBuffer 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
    ActiveMQBuffer.setBytes(int index, ActiveMQBuffer src)
    Transfers the specified source buffer's data to this buffer starting at the specified absolute index until the destination becomes unreadable.
    void
    ActiveMQBuffer.setBytes(int index, ActiveMQBuffer src, int length)
    Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
    void
    ActiveMQBuffer.setBytes(int index, ActiveMQBuffer src, int srcIndex, int length)
    Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
    void
    ActiveMQBuffer.writeBytes(ActiveMQBuffer 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
    ActiveMQBuffer.writeBytes(ActiveMQBuffer 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).