public class BatchMessageIdImpl extends MessageIdImpl
entryId, ledgerId, partitionIndex| Constructor and Description |
|---|
BatchMessageIdImpl(long ledgerId,
long entryId,
int partitionIndex,
int batchIndex) |
BatchMessageIdImpl(long ledgerId,
long entryId,
int partitionIndex,
int batchIndex,
int batchSize,
org.apache.pulsar.client.impl.BatchMessageAcker acker) |
BatchMessageIdImpl(MessageIdImpl other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ackCumulative() |
boolean |
ackIndividual() |
int |
compareTo(MessageId o) |
boolean |
equals(Object obj) |
org.apache.pulsar.client.impl.BatchMessageAcker |
getAcker() |
int |
getBatchIndex() |
int |
getBatchSize() |
int |
getOutstandingAcksInSameBatch() |
int |
hashCode() |
MessageIdImpl |
prevBatchMessageId() |
byte[] |
toByteArray() |
String |
toString() |
convertToMessageIdImpl, fromByteArray, fromByteArrayWithTopic, fromByteArrayWithTopic, getEntryId, getLedgerId, getPartitionIndex, toByteArraypublic BatchMessageIdImpl(long ledgerId,
long entryId,
int partitionIndex,
int batchIndex)
public BatchMessageIdImpl(long ledgerId,
long entryId,
int partitionIndex,
int batchIndex,
int batchSize,
org.apache.pulsar.client.impl.BatchMessageAcker acker)
public BatchMessageIdImpl(MessageIdImpl other)
public int getBatchIndex()
public int compareTo(MessageId o)
compareTo in interface Comparable<MessageId>compareTo in class MessageIdImplpublic int hashCode()
hashCode in class MessageIdImplpublic boolean equals(Object obj)
equals in class MessageIdImplpublic String toString()
toString in class MessageIdImplpublic byte[] toByteArray()
toByteArray in interface MessageIdtoByteArray in class MessageIdImplpublic boolean ackIndividual()
public boolean ackCumulative()
public int getOutstandingAcksInSameBatch()
public int getBatchSize()
public MessageIdImpl prevBatchMessageId()
public org.apache.pulsar.client.impl.BatchMessageAcker getAcker()
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.