Uses of Interface
org.apache.qpid.protonj2.buffer.ProtonBufferAllocator
Package
Description
-
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.buffer
Modifier and TypeMethodDescriptionstatic ProtonBufferAllocator
ProtonBufferAllocator.defaultAllocator()
Gets an allocator from the proton internal buffer allocator which can be a default version or may have been configured to ensure all allocations use a specific allocator instance.static ProtonBufferAllocator
ProtonBufferUtils.unclosable
(ProtonBufferAllocator allocator) Creates a wrapper around the given allocator that prevents the close call from having any effect.Modifier and TypeMethodDescriptionstatic ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator) Create an empty composite buffer that will use the provided allocator to create new buffer capacity if writes are performed and insufficient space remains (unless the capacity limit is reached).static ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator, ProtonBuffer buffer) Create an composite buffer with the given buffer instance as the initial buffer payload.static ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) Create an composite buffer with the given array of buffers as the initial buffer payload.static ProtonBufferAllocator
ProtonBufferUtils.unclosable
(ProtonBufferAllocator allocator) Creates a wrapper around the given allocator that prevents the close call from having any effect. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.buffer.impl
Modifier and TypeClassDescriptionfinal class
A Proton built in byte array based buffer allocatorModifier and TypeMethodDescriptionstatic final ProtonBufferAllocator
ProtonByteArrayBufferAllocator.allocator()
ProtonCompositeBufferImpl.allocator()
Modifier and TypeMethodDescriptionstatic ProtonCompositeBuffer
ProtonCompositeBufferImpl.create
(ProtonBufferAllocator allocator) Create an emptyProtonCompositeBuffer
with the given allocator which will be used any time the buffer needs to allocate additional storage space for implicit write or explicit ensure writable calls.static ProtonCompositeBuffer
ProtonCompositeBufferImpl.create
(ProtonBufferAllocator allocator, ProtonBuffer buffer) Create an emptyProtonCompositeBuffer
with the given allocator which will be used any time the buffer needs to allocate additional storage space for implicit write or explicit ensure writable calls.static ProtonCompositeBuffer
ProtonCompositeBufferImpl.create
(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) Create an emptyProtonCompositeBuffer
with the given allocator which will be used any time the buffer needs to allocate additional storage space for implicit write or explicit ensure writable calls.ModifierConstructorDescriptionProtonCompositeBufferImpl
(ProtonBufferAllocator allocator) Creates a new empty composite buffer. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.buffer.netty
Modifier and TypeClassDescriptionfinal class
Proton managed Netty 4ByteBufAllocator
wrapper.final class
Proton managed Netty 5BufferAllocator
wrapper.Modifier and TypeFieldDescriptionstatic ProtonBufferAllocator
Netty4ProtonBufferAllocator.POOLED
static ProtonBufferAllocator
Netty5ProtonBufferAllocator.POOLED
static ProtonBufferAllocator
Netty4ProtonBufferAllocator.UNPOOLED
static ProtonBufferAllocator
Netty5ProtonBufferAllocator.UNPOOLED
-
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.client
Modifier and TypeMethodDescriptionAdvancedMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) Encodes theAdvancedMessage
for transmission by the client. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.client.impl
Modifier and TypeMethodDescriptionClientMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) ClientStreamReceiverMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBuffer
ClientMessageSupport.encodeMessage
(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBuffer
ClientMessageSupport.encodeMessage
(Encoder encoder, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBuffer
ClientMessageSupport.encodeMessage
(Encoder encoder, EncoderState encoderState, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.client.transport
Modifier and TypeMethodDescriptionTransport.getBufferAllocator()
Gets a buffer allocator that can produceProtonBuffer
instance that may be optimized for use with the underlying transport implementation. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.client.transport.netty4
-
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.client.transport.netty5
-
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.engine
Modifier and TypeMethodDescriptionEngineConfiguration.setBufferAllocator
(ProtonBufferAllocator allocator) Sets the ProtonBufferAllocator used by this Engine. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.engine.impl
Modifier and TypeMethodDescriptionProtonEngineConfiguration.setBufferAllocator
(ProtonBufferAllocator allocator)