public final class ResetLimitWrappedActiveMQBuffer
extends org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper
| Constructor and Description |
|---|
ResetLimitWrappedActiveMQBuffer(int limit,
org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
MessageInternal message) |
ResetLimitWrappedActiveMQBuffer(int limit,
io.netty.buffer.ByteBuf buffer,
MessageInternal message) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
readerIndex(int readerIndex) |
void |
resetReaderIndex() |
void |
resetWriterIndex() |
void |
setBuffer(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) |
void |
setByte(int index,
byte value) |
void |
setBytes(int index,
org.apache.activemq.artemis.api.core.ActiveMQBuffer src) |
void |
setBytes(int index,
org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int length) |
void |
setBytes(int index,
org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int srcIndex,
int length) |
void |
setBytes(int index,
byte[] src) |
void |
setBytes(int index,
byte[] src,
int srcIndex,
int length) |
void |
setBytes(int index,
ByteBuffer src) |
void |
setChar(int index,
char value) |
void |
setDouble(int index,
double value) |
void |
setFloat(int index,
float value) |
void |
setIndex(int readerIndex,
int writerIndex) |
void |
setInt(int index,
int value) |
void |
setLong(int index,
long value) |
void |
setMessage(MessageInternal message)
We need to turn of notifications of body changes on reset on the server side when dealing with AMQP conversions,
for that reason this method will set the message to null here
|
void |
setShort(int index,
short value) |
void |
writeBoolean(boolean val) |
void |
writeByte(byte value) |
void |
writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int length) |
void |
writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int srcIndex,
int length) |
void |
writeBytes(byte[] src) |
void |
writeBytes(byte[] src,
int srcIndex,
int length) |
void |
writeBytes(ByteBuffer src) |
void |
writeChar(char chr) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeNullableSimpleString(org.apache.activemq.artemis.api.core.SimpleString val) |
void |
writeNullableString(String val) |
void |
writerIndex(int writerIndex) |
void |
writeShort(short value) |
void |
writeSimpleString(org.apache.activemq.artemis.api.core.SimpleString val) |
void |
writeString(String val) |
void |
writeUTF(String utf) |
byteBuf, capacity, copy, copy, discardReadBytes, duplicate, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getChar, getDouble, getFloat, getInt, getLong, getShort, getUnsignedByte, getUnsignedInt, getUnsignedShort, markReaderIndex, markWriterIndex, readable, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readDouble, readerIndex, readFloat, readFully, readFully, readInt, readLine, readLong, readNullableSimpleString, readNullableString, readShort, readSimpleString, readSlice, readString, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, skipBytes, slice, slice, toByteBuffer, toByteBuffer, unwrap, writable, writableBytes, writerIndexpublic ResetLimitWrappedActiveMQBuffer(int limit,
org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
MessageInternal message)
public ResetLimitWrappedActiveMQBuffer(int limit,
io.netty.buffer.ByteBuf buffer,
MessageInternal message)
public void setMessage(MessageInternal message)
message - public void setBuffer(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
public void clear()
clear in interface org.apache.activemq.artemis.api.core.ActiveMQBufferclear in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void readerIndex(int readerIndex)
readerIndex in interface org.apache.activemq.artemis.api.core.ActiveMQBufferreaderIndex in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void resetReaderIndex()
resetReaderIndex in interface org.apache.activemq.artemis.api.core.ActiveMQBufferresetReaderIndex in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void resetWriterIndex()
resetWriterIndex in interface org.apache.activemq.artemis.api.core.ActiveMQBufferresetWriterIndex in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setIndex(int readerIndex,
int writerIndex)
setIndex in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetIndex in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writerIndex(int writerIndex)
writerIndex in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriterIndex in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setByte(int index,
byte value)
setByte in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetByte in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setBytes(int index,
byte[] src,
int srcIndex,
int length)
setBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setBytes(int index,
byte[] src)
setBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setBytes(int index,
ByteBuffer src)
setBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setBytes(int index,
org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int srcIndex,
int length)
setBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setBytes(int index,
org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int length)
setBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setBytes(int index,
org.apache.activemq.artemis.api.core.ActiveMQBuffer src)
setBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setChar(int index,
char value)
setChar in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetChar in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setDouble(int index,
double value)
setDouble in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetDouble in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setFloat(int index,
float value)
setFloat in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetFloat in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setInt(int index,
int value)
setInt in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetInt in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setLong(int index,
long value)
setLong in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetLong in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void setShort(int index,
short value)
setShort in interface org.apache.activemq.artemis.api.core.ActiveMQBuffersetShort in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeBoolean(boolean val)
writeBoolean in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteBoolean in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeByte(byte value)
writeByte in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteByte in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeBytes(byte[] src,
int srcIndex,
int length)
writeBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeBytes(byte[] src)
writeBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeBytes(ByteBuffer src)
writeBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int srcIndex,
int length)
writeBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer src,
int length)
writeBytes in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteBytes in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeChar(char chr)
writeChar in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteChar in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeDouble(double value)
writeDouble in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteDouble in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeFloat(float value)
writeFloat in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteFloat in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeInt(int value)
writeInt in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteInt in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeLong(long value)
writeLong in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteLong in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeNullableSimpleString(org.apache.activemq.artemis.api.core.SimpleString val)
writeNullableSimpleString in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteNullableSimpleString in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeNullableString(String val)
writeNullableString in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteNullableString in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeShort(short value)
writeShort in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteShort in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeSimpleString(org.apache.activemq.artemis.api.core.SimpleString val)
writeSimpleString in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteSimpleString in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeString(String val)
writeString in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteString in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperpublic void writeUTF(String utf)
writeUTF in interface org.apache.activemq.artemis.api.core.ActiveMQBufferwriteUTF in class org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapperCopyright © 2023 The Apache Software Foundation. All rights reserved.