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 ProtonBufferAllocatorProtonBufferAllocator.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 ProtonBufferAllocatorProtonBufferUtils.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 ProtonCompositeBufferProtonCompositeBuffer.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 ProtonCompositeBufferProtonCompositeBuffer.create(ProtonBufferAllocator allocator, ProtonBuffer buffer) Create an composite buffer with the given buffer instance as the initial buffer payload.static ProtonCompositeBufferProtonCompositeBuffer.create(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) Create an composite buffer with the given array of buffers as the initial buffer payload.static ProtonBufferAllocatorProtonBufferUtils.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 classA Proton built in byte array based buffer allocatorMethods in org.apache.qpid.protonj2.buffer.impl that return ProtonBufferAllocatorModifier and TypeMethodDescriptionstatic final ProtonBufferAllocatorProtonByteArrayBufferAllocator.allocator()ProtonCompositeBufferImpl.allocator()Methods in org.apache.qpid.protonj2.buffer.impl with parameters of type ProtonBufferAllocatorModifier and TypeMethodDescriptionstatic ProtonCompositeBufferProtonCompositeBufferImpl.create(ProtonBufferAllocator allocator) Create an emptyProtonCompositeBufferwith 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 ProtonCompositeBufferProtonCompositeBufferImpl.create(ProtonBufferAllocator allocator, ProtonBuffer buffer) Create an emptyProtonCompositeBufferwith 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 ProtonCompositeBufferProtonCompositeBufferImpl.create(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) Create an emptyProtonCompositeBufferwith 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 classProton managed Netty 4ByteBufAllocatorwrapper.final classProton managed Netty 5BufferAllocatorwrapper.Fields in org.apache.qpid.protonj2.buffer.netty declared as ProtonBufferAllocatorModifier and TypeFieldDescriptionstatic ProtonBufferAllocatorNetty4ProtonBufferAllocator.POOLEDstatic ProtonBufferAllocatorNetty5ProtonBufferAllocator.POOLEDstatic ProtonBufferAllocatorNetty4ProtonBufferAllocator.UNPOOLEDstatic ProtonBufferAllocatorNetty5ProtonBufferAllocator.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 theAdvancedMessagefor 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 ProtonBufferClientMessageSupport.encodeMessage(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBufferClientMessageSupport.encodeMessage(Encoder encoder, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBufferClientMessageSupport.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 produceProtonBufferinstance 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)