Uses of Interface
org.apache.activemq.artemis.api.core.ActiveMQBuffer
Packages that use ActiveMQBuffer
Package
Description
-
Uses of ActiveMQBuffer in org.apache.activemq.artemis.api.core
Methods in org.apache.activemq.artemis.api.core that return ActiveMQBufferModifier and TypeMethodDescriptionActiveMQBuffer.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.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 sizeICoreMessage.getBodyBuffer()The buffer to write the body.default ActiveMQBufferMessage.getBodyBuffer()Deprecated.do not use this, use through ICoreMessage or ClientMessage Warning: if you need to read the content of a message use getDataBuffer().ICoreMessage.getDataBuffer()Returns a readOnlyBodyBuffer or a decompressed one if the message is compressed or the large message buffer.ICoreMessage.getReadOnlyBodyBuffer()Returns a new Buffer slicing the current Body.static ActiveMQBufferActiveMQBuffers.pooledBuffer(int size) ActiveMQBuffer.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).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.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 ByteBufstatic ActiveMQBufferActiveMQBuffers.wrappedBuffer(ByteBuffer underlying) Creates an ActiveMQBuffer wrapping an underlying NIO ByteBufferMethods in org.apache.activemq.artemis.api.core with parameters of type ActiveMQBufferModifier and TypeMethodDescriptionvoidTransportConfiguration.decode(ActiveMQBuffer buffer) Decodes this TransportConfiguration from a buffer.voidTransportConfiguration.encode(ActiveMQBuffer buffer) Encodes this TransportConfiguration into a buffer.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.voidMessage.persist(ActiveMQBuffer targetRecord) 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).voidMessage.reloadPersistence(ActiveMQBuffer record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools) 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.api.core.client
Methods in org.apache.activemq.artemis.api.core.client that return ActiveMQBuffer -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.core.config
Methods in org.apache.activemq.artemis.core.config with parameters of type ActiveMQBufferModifier and TypeMethodDescriptionvoidBridgeConfiguration.decode(ActiveMQBuffer buffer) voidDivertConfiguration.decode(ActiveMQBuffer buffer) voidFederationConfiguration.Credentials.decode(ActiveMQBuffer buffer) voidBridgeConfiguration.encode(ActiveMQBuffer buffer) voidDivertConfiguration.encode(ActiveMQBuffer buffer) voidFederationConfiguration.Credentials.encode(ActiveMQBuffer buffer) -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.core.config.federation
Methods in org.apache.activemq.artemis.core.config.federation with parameters of type ActiveMQBufferModifier and TypeMethodDescriptionvoidFederationAddressPolicyConfiguration.decode(ActiveMQBuffer buffer) voidFederationAddressPolicyConfiguration.Matcher.decode(ActiveMQBuffer buffer) voidFederationConnectionConfiguration.decode(ActiveMQBuffer buffer) voidFederationDownstreamConfiguration.decode(ActiveMQBuffer buffer) voidFederationPolicy.decode(ActiveMQBuffer buffer) voidFederationPolicySet.decode(ActiveMQBuffer buffer) voidFederationQueuePolicyConfiguration.decode(ActiveMQBuffer buffer) voidFederationQueuePolicyConfiguration.Matcher.decode(ActiveMQBuffer buffer) voidFederationStreamConfiguration.decode(ActiveMQBuffer buffer) voidFederationTransformerConfiguration.decode(ActiveMQBuffer buffer) voidFederationAddressPolicyConfiguration.encode(ActiveMQBuffer buffer) voidFederationAddressPolicyConfiguration.Matcher.encode(ActiveMQBuffer buffer) voidFederationConnectionConfiguration.encode(ActiveMQBuffer buffer) voidFederationDownstreamConfiguration.encode(ActiveMQBuffer buffer) voidFederationPolicy.encode(ActiveMQBuffer buffer) voidFederationPolicySet.encode(ActiveMQBuffer buffer) voidFederationQueuePolicyConfiguration.encode(ActiveMQBuffer buffer) voidFederationQueuePolicyConfiguration.Matcher.encode(ActiveMQBuffer buffer) voidFederationStreamConfiguration.encode(ActiveMQBuffer buffer) voidFederationTransformerConfiguration.encode(ActiveMQBuffer buffer) -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.spi.core.protocol
Methods in org.apache.activemq.artemis.spi.core.protocol that return ActiveMQBufferModifier and TypeMethodDescriptionAbstractRemotingConnection.createTransportBuffer(int size) RemotingConnection.createTransportBuffer(int size) creates a new ActiveMQBuffer of the specified size.Methods in org.apache.activemq.artemis.spi.core.protocol with parameters of type ActiveMQBufferModifier and TypeMethodDescriptionvoidAbstractRemotingConnection.bufferReceived(Object connectionID, ActiveMQBuffer buffer) MessagePersister.decode(ActiveMQBuffer buffer, Message record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools) MessagePersister.decode(ActiveMQBuffer buffer, Message record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools, org.apache.activemq.artemis.core.persistence.StorageManager storageManager) voidMessagePersister.encode(ActiveMQBuffer buffer, Message record) Sub classes must add the first short as the protocol-idvoidProtocolManager.handleBuffer(RemotingConnection connection, ActiveMQBuffer buffer) voidProtocolManager.handshake(org.apache.activemq.artemis.core.remoting.impl.netty.NettyServerConnection connection, ActiveMQBuffer buffer) -
Uses of ActiveMQBuffer in org.apache.activemq.artemis.spi.core.remoting
Methods in org.apache.activemq.artemis.spi.core.remoting that return ActiveMQBufferModifier and TypeMethodDescriptionConnection.createTransportBuffer(int size) Create a new ActiveMQBuffer of the given size.Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type ActiveMQBufferModifier and TypeMethodDescriptionvoidBufferHandler.bufferReceived(Object connectionID, ActiveMQBuffer buffer) called by the remoting connection when a buffer is received.intBufferDecoder.isReadyToHandle(ActiveMQBuffer buffer) called by the remoting system prior toBufferHandler.bufferReceived(Object, ActiveMQBuffer).voidConnection.write(ActiveMQBuffer buffer) writes the buffer to the connection with no flushing or batchingvoidConnection.write(ActiveMQBuffer buffer, boolean requestFlush) writes the buffer to the connection and if flush is true request to flush the buffer (and any previous un-flushed ones) into the wire.voidConnection.write(ActiveMQBuffer buffer, boolean flush, boolean batched) writes the buffer to the connection and if flush is true returns only when the buffer has been physically written to the connection.voidConnection.write(ActiveMQBuffer buffer, boolean flush, boolean batched, io.netty.channel.ChannelFutureListener futureListener) writes the buffer to the connection and if flush is true returns only when the buffer has been physically written to the connection.