类 BatchMessageIdImpl
java.lang.Object
org.apache.pulsar.client.impl.MessageIdImpl
org.apache.pulsar.client.impl.BatchMessageIdImpl
- 所有已实现的接口:
Serializable,Comparable<MessageId>,MessageId,MessageIdAdv
- 另请参阅:
-
字段概要
从类继承的字段 org.apache.pulsar.client.impl.MessageIdImpl
entryId, ledgerId, partitionIndex -
构造器概要
构造器构造器说明BatchMessageIdImpl(long ledgerId, long entryId, int partitionIndex, int batchIndex) BatchMessageIdImpl(long ledgerId, long entryId, int partitionIndex, int batchIndex, int batchSize, BitSet ackSet) BatchMessageIdImpl(MessageIdAdv other) -
方法概要
从类继承的方法 org.apache.pulsar.client.impl.MessageIdImpl
fromByteArray, fromByteArrayWithTopic, fromByteArrayWithTopic, getEntryId, getLedgerId, getPartitionIndex, toByteArray, writeMessageIdData从接口继承的方法 org.apache.pulsar.client.api.MessageIdAdv
compareTo, getFirstChunkMessageId
-
构造器详细资料
-
BatchMessageIdImpl
public BatchMessageIdImpl(long ledgerId, long entryId, int partitionIndex, int batchIndex) -
BatchMessageIdImpl
public BatchMessageIdImpl(long ledgerId, long entryId, int partitionIndex, int batchIndex, int batchSize, BitSet ackSet) -
BatchMessageIdImpl
-
-
方法详细资料
-
getBatchIndex
public int getBatchIndex() -
hashCode
public int hashCode()- 覆盖:
hashCode在类中MessageIdImpl
-
equals
- 覆盖:
equals在类中MessageIdImpl
-
toString
- 覆盖:
toString在类中MessageIdImpl
-
toByteArray
public byte[] toByteArray()- 指定者:
toByteArray在接口中MessageId- 覆盖:
toByteArray在类中MessageIdImpl
-
ackIndividual
已过时。 -
ackCumulative
已过时。 -
getOutstandingAcksInSameBatch
已过时。 -
getBatchSize
public int getBatchSize() -
getOriginalBatchSize
已过时。 -
prevBatchMessageId
已过时。 -
toMessageIdImpl
已过时。 -
getAckSet
-