Uses of Interface
org.apache.qpid.protonj2.buffer.ProtonCompositeBuffer
Package
Description
-
Uses of ProtonCompositeBuffer in org.apache.qpid.protonj2.buffer
Modifier and TypeMethodDescriptiondefault ProtonCompositeBuffer
ProtonCompositeBuffer.advanceReadOffset
(int length) default ProtonCompositeBuffer
ProtonCompositeBuffer.advanceWriteOffset
(int length) ProtonCompositeBuffer.append
(ProtonBuffer buffer) Appends the given buffer to this composite buffer if all the constraints on buffer composites are met, otherwise thrown an exception.ProtonCompositeBuffer.compact()
ProtonBufferAllocator.composite()
Creates a new composite buffer instance that uses this allocator to create new backing space when the buffer writes exceed capacity or the ensure writable space API is used.ProtonBufferAllocator.composite
(ProtonBuffer buffer) Creates a new composite buffer instance that uses this allocator to create new backing space when the buffer writes exceed capacity or the ensure writable space API is used.ProtonBufferAllocator.composite
(ProtonBuffer[] buffers) Creates a new composite buffer instance that uses this allocator to create new backing space when the buffer writes exceed capacity or the ensure writable space API is used.ProtonCompositeBuffer.convertToReadOnly()
default ProtonCompositeBuffer
ProtonCompositeBuffer.copy()
default ProtonCompositeBuffer
ProtonCompositeBuffer.copy
(boolean readOnly) default ProtonCompositeBuffer
ProtonCompositeBuffer.copy
(int index, int length) ProtonCompositeBuffer.copy
(int index, int length, boolean readOnly) static 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.default ProtonCompositeBuffer
ProtonCompositeBuffer.ensureWritable
(int amount) ProtonCompositeBuffer.ensureWritable
(int size, int minimumGrowth, boolean allowCompaction) ProtonCompositeBuffer.fill
(byte value) ProtonCompositeBuffer.implicitGrowthLimit
(int limit) default ProtonCompositeBuffer
ProtonCompositeBuffer.readBytes
(byte[] destination, int offset, int length) default ProtonCompositeBuffer
ProtonCompositeBuffer.readBytes
(ByteBuffer destination) default ProtonCompositeBuffer
ProtonCompositeBuffer.readSplit
(int length) ProtonCompositeBuffer.setReadOffset
(int value) ProtonCompositeBuffer.setWriteOffset
(int value) default ProtonCompositeBuffer
ProtonCompositeBuffer.split()
ProtonCompositeBuffer.split
(int splitOffset) ProtonCompositeBuffer.splitComponentsCeil
(int splitOffset) Split this buffer returning a composite that consists of all the buffer components up to and including the buffer that contains the split offset, no buffer components are split.ProtonCompositeBuffer.splitComponentsFloor
(int splitOffset) Split this buffer returning a composite that consists of all the buffer components that come before the buffer that contains the split offset, no buffer components are split.default ProtonCompositeBuffer
ProtonCompositeBuffer.writeBytes
(byte[] source) default ProtonCompositeBuffer
ProtonCompositeBuffer.writeBytes
(byte[] source, int offset, int length) default ProtonCompositeBuffer
ProtonCompositeBuffer.writeBytes
(ByteBuffer source) default ProtonCompositeBuffer
ProtonCompositeBuffer.writeBytes
(ProtonBuffer source) default ProtonCompositeBuffer
ProtonCompositeBuffer.writeSplit
(int length) -
Uses of ProtonCompositeBuffer in org.apache.qpid.protonj2.buffer.impl
Modifier and TypeClassDescriptionfinal class
The built in composite buffer implementation.Modifier and TypeMethodDescriptionProtonCompositeBufferImpl.append
(ProtonBuffer buffer) ProtonCompositeBufferImpl.compact()
ProtonByteArrayBufferAllocator.composite()
ProtonByteArrayBufferAllocator.composite
(ProtonBuffer buffer) ProtonByteArrayBufferAllocator.composite
(ProtonBuffer[] buffers) ProtonCompositeBufferImpl.convertToReadOnly()
ProtonCompositeBufferImpl.copy
(int index, int length, boolean readOnly) static 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.ProtonCompositeBufferImpl.ensureWritable
(int size, int minimumGrowth, boolean allowCompaction) ProtonCompositeBufferImpl.fill
(byte value) ProtonCompositeBufferImpl.implicitGrowthLimit
(int limit) ProtonCompositeBufferImpl.setReadOffset
(int value) ProtonCompositeBufferImpl.setWriteOffset
(int value) ProtonCompositeBufferImpl.split
(int splitOffset) ProtonCompositeBufferImpl.splitComponentsCeil
(int splitOffset) ProtonCompositeBufferImpl.splitComponentsFloor
(int splitOffset) ProtonCompositeBufferImpl.unwrap()
ProtonCompositeBufferImpl.writeBytes
(byte[] source, int offset, int length) ProtonCompositeBufferImpl.writeBytes
(ProtonBuffer source) -
Uses of ProtonCompositeBuffer in org.apache.qpid.protonj2.buffer.netty
Modifier and TypeMethodDescriptionNetty4ProtonBufferAllocator.composite()
Netty4ProtonBufferAllocator.composite
(ProtonBuffer buffer) Netty4ProtonBufferAllocator.composite
(ProtonBuffer[] buffers) Netty5ProtonBufferAllocator.composite()
Netty5ProtonBufferAllocator.composite
(ProtonBuffer buffer) Netty5ProtonBufferAllocator.composite
(ProtonBuffer[] buffers)