类的使用
org.apache.pulsar.common.protocol.ByteBufPair
使用ByteBufPair的程序包
-
org.apache.pulsar.common.protocol中ByteBufPair的使用
修饰符和类型方法说明static ByteBufPairByteBufPair.get(io.netty.buffer.ByteBuf b1, io.netty.buffer.ByteBuf b2) Get a newByteBufPairfrom the pool and assign 2 buffers to it.static ByteBufPairCommands.newMessage(long consumerId, long ledgerId, long entryId, int partition, int redeliveryCount, io.netty.buffer.ByteBuf metadataAndPayload, long[] ackSet) static ByteBufPairCommands.newSend(long producerId, long sequenceId, int numMessages, Commands.ChecksumType checksumType, long ledgerId, long entryId, MessageMetadata messageMetadata, io.netty.buffer.ByteBuf payload) static ByteBufPairCommands.newSend(long producerId, long sequenceId, int numMessages, Commands.ChecksumType checksumType, MessageMetadata messageMetadata, io.netty.buffer.ByteBuf payload) static ByteBufPairCommands.newSend(long producerId, long sequenceId, long highestSequenceId, int numMessages, long txnIdLeastBits, long txnIdMostBits, Commands.ChecksumType checksumType, long ledgerId, long entryId, MessageMetadata messageData, io.netty.buffer.ByteBuf payload) static ByteBufPairCommands.newSend(long producerId, long lowestSequenceId, long highestSequenceId, int numMessages, Commands.ChecksumType checksumType, MessageMetadata messageMetadata, io.netty.buffer.ByteBuf payload) static ByteBufPairCommands.serializeCommandMessageWithSize(BaseCommand cmd, io.netty.buffer.ByteBuf metadataAndPayload)