Uses of Interface
org.apache.qpid.protonj2.buffer.ProtonCompositeBuffer
Packages that use ProtonCompositeBuffer
Package
Description
-
Uses of ProtonCompositeBuffer in org.apache.qpid.protonj2.buffer
Methods in org.apache.qpid.protonj2.buffer that return ProtonCompositeBufferModifier and TypeMethodDescriptiondefault ProtonCompositeBufferProtonCompositeBuffer.advanceReadOffset(int length) default ProtonCompositeBufferProtonCompositeBuffer.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 ProtonCompositeBufferProtonCompositeBuffer.copy()default ProtonCompositeBufferProtonCompositeBuffer.copy(boolean readOnly) default ProtonCompositeBufferProtonCompositeBuffer.copy(int index, int length) ProtonCompositeBuffer.copy(int index, int length, boolean readOnly) static 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.default ProtonCompositeBufferProtonCompositeBuffer.ensureWritable(int amount) ProtonCompositeBuffer.ensureWritable(int size, int minimumGrowth, boolean allowCompaction) ProtonCompositeBuffer.fill(byte value) ProtonCompositeBuffer.implicitGrowthLimit(int limit) default ProtonCompositeBufferProtonCompositeBuffer.readBytes(byte[] destination, int offset, int length) default ProtonCompositeBufferProtonCompositeBuffer.readBytes(ByteBuffer destination) default ProtonCompositeBufferProtonCompositeBuffer.readSplit(int length) ProtonCompositeBuffer.setReadOffset(int value) ProtonCompositeBuffer.setWriteOffset(int value) default ProtonCompositeBufferProtonCompositeBuffer.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 ProtonCompositeBufferProtonCompositeBuffer.writeBytes(byte[] source) default ProtonCompositeBufferProtonCompositeBuffer.writeBytes(byte[] source, int offset, int length) default ProtonCompositeBufferProtonCompositeBuffer.writeBytes(ByteBuffer source) default ProtonCompositeBufferProtonCompositeBuffer.writeBytes(ProtonBuffer source) default ProtonCompositeBufferProtonCompositeBuffer.writeSplit(int length) -
Uses of ProtonCompositeBuffer in org.apache.qpid.protonj2.buffer.impl
Classes in org.apache.qpid.protonj2.buffer.impl that implement ProtonCompositeBufferModifier and TypeClassDescriptionfinal classThe built in composite buffer implementation.Methods in org.apache.qpid.protonj2.buffer.impl that return ProtonCompositeBufferModifier 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 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.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
Methods in org.apache.qpid.protonj2.buffer.netty that return ProtonCompositeBufferModifier and TypeMethodDescriptionNetty4ProtonBufferAllocator.composite()Netty4ProtonBufferAllocator.composite(ProtonBuffer buffer) Netty4ProtonBufferAllocator.composite(ProtonBuffer[] buffers) Netty5ProtonBufferAllocator.composite()Netty5ProtonBufferAllocator.composite(ProtonBuffer buffer) Netty5ProtonBufferAllocator.composite(ProtonBuffer[] buffers)