| Package | Description |
|---|---|
| org.apache.pulsar.common.protocol |
Common protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static Commands.ChecksumType |
Commands.ChecksumType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Commands.ChecksumType[] |
Commands.ChecksumType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBufPair |
Commands.newSend(long producerId,
long sequenceId,
int numMessaegs,
Commands.ChecksumType checksumType,
MessageMetadata messageMetadata,
io.netty.buffer.ByteBuf payload) |
static ByteBufPair |
Commands.newSend(long producerId,
long lowestSequenceId,
long highestSequenceId,
int numMessaegs,
Commands.ChecksumType checksumType,
MessageMetadata messageMetadata,
io.netty.buffer.ByteBuf payload) |
static ByteBufPair |
Commands.newSend(long producerId,
long sequenceId,
long highestSequenceId,
int numMessages,
long txnIdLeastBits,
long txnIdMostBits,
Commands.ChecksumType checksumType,
MessageMetadata messageData,
io.netty.buffer.ByteBuf payload) |
static io.netty.buffer.ByteBuf |
Commands.serializeMetadataAndPayload(Commands.ChecksumType checksumType,
MessageMetadata msgMetadata,
io.netty.buffer.ByteBuf payload) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.