Class BufferingPartitionDataBuilder.MultiMemoryRecords
java.lang.Object
org.apache.kafka.common.record.MultiBufferRecords
io.confluent.kafka.replication.push.buffer.BufferingPartitionDataBuilder.MultiMemoryRecords
- All Implemented Interfaces:
org.apache.kafka.common.record.BaseRecords,org.apache.kafka.common.record.TransferableRecords
- Enclosing class:
BufferingPartitionDataBuilder
public static final class BufferingPartitionDataBuilder.MultiMemoryRecords
extends org.apache.kafka.common.record.MultiBufferRecords
A
MultiBufferRecords that can send the buffers of multiple memory records in a
single Send.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultiMemoryRecords(List<org.apache.kafka.common.record.MemoryRecords> memoryRecords) -
Method Summary
Methods inherited from class org.apache.kafka.common.record.MultiBufferRecords
toSend, writeTo
-
Constructor Details
-
MultiMemoryRecords
-
-
Method Details
-
memoryRecords
-
buffers
- Specified by:
buffersin classorg.apache.kafka.common.record.MultiBufferRecords
-
sizeInBytes
public int sizeInBytes() -
release
public void release()
-