Uses of Interface
org.apache.qpid.protonj2.buffer.ProtonBufferAllocator
Packages that use ProtonBufferAllocator
Package
Description
-
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.buffer
Methods in org.apache.qpid.protonj2.buffer that return ProtonBufferAllocatorModifier 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.Methods in org.apache.qpid.protonj2.buffer with parameters of type ProtonBufferAllocatorModifier and TypeMethodDescriptionstatic ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator) static ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator, ProtonBuffer buffer) static ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) 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
Classes in org.apache.qpid.protonj2.buffer.impl that implement ProtonBufferAllocatorModifier and TypeClassDescriptionfinal class
A Proton built in byte array based buffer allocatorMethods in org.apache.qpid.protonj2.buffer.impl that return ProtonBufferAllocatorModifier and TypeMethodDescriptionstatic final ProtonBufferAllocator
ProtonByteArrayBufferAllocator.allocator()
ProtonCompositeBufferImpl.allocator()
Methods in org.apache.qpid.protonj2.buffer.impl with parameters of type ProtonBufferAllocatorModifier 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.Constructors in org.apache.qpid.protonj2.buffer.impl with parameters of type ProtonBufferAllocatorModifierConstructorDescriptionProtonCompositeBufferImpl
(ProtonBufferAllocator allocator) Creates a new empty composite buffer. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.buffer.netty
Classes in org.apache.qpid.protonj2.buffer.netty that implement ProtonBufferAllocatorModifier and TypeClassDescriptionfinal class
Proton managed Netty 4ByteBufAllocator
wrapper.final class
Proton managed Netty 5BufferAllocator
wrapper.Fields in org.apache.qpid.protonj2.buffer.netty declared as ProtonBufferAllocatorModifier 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
Methods in org.apache.qpid.protonj2.client with parameters of type ProtonBufferAllocatorModifier 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
Methods in org.apache.qpid.protonj2.client.impl with parameters of type ProtonBufferAllocatorModifier 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
Methods in org.apache.qpid.protonj2.client.transport that return ProtonBufferAllocatorModifier 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
Methods in org.apache.qpid.protonj2.client.transport.netty4 that return ProtonBufferAllocator -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.client.transport.netty5
Methods in org.apache.qpid.protonj2.client.transport.netty5 that return ProtonBufferAllocator -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return ProtonBufferAllocatorMethods in org.apache.qpid.protonj2.engine with parameters of type ProtonBufferAllocatorModifier and TypeMethodDescriptionEngineConfiguration.setBufferAllocator
(ProtonBufferAllocator allocator) Sets the ProtonBufferAllocator used by this Engine. -
Uses of ProtonBufferAllocator in org.apache.qpid.protonj2.engine.impl
Methods in org.apache.qpid.protonj2.engine.impl that return ProtonBufferAllocatorMethods in org.apache.qpid.protonj2.engine.impl with parameters of type ProtonBufferAllocatorModifier and TypeMethodDescriptionProtonEngineConfiguration.setBufferAllocator
(ProtonBufferAllocator allocator)