类 TopicMessageIdImpl
java.lang.Object
org.apache.pulsar.client.impl.TopicMessageIdImpl
- 所有已实现的接口:
Serializable,Comparable<MessageId>,MessageId,MessageIdAdv,TopicMessageId
- 另请参阅:
-
字段概要
-
构造器概要
构造器构造器说明TopicMessageIdImpl(String topicPartitionName, String topicName, MessageId messageId) 已过时。TopicMessageIdImpl(String topic, MessageIdAdv msgId) -
方法概要
-
构造器详细资料
-
TopicMessageIdImpl
-
TopicMessageIdImpl
@Deprecated public TopicMessageIdImpl(String topicPartitionName, String topicName, MessageId messageId) 已过时。
-
-
方法详细资料
-
getTopicName
已过时。Get the topic name without partition part of this message.- 返回:
- the name of the topic on which this message was published
-
getTopicPartitionName
已过时。Get the topic name which contains partition part for this message.- 返回:
- the topic name which contains Partition part
-
getInnerMessageId
已过时。 -
equals
-
hashCode
public int hashCode() -
compareTo
- 指定者:
compareTo在接口中Comparable<MessageId>- 指定者:
compareTo在接口中MessageIdAdv
-
toByteArray
public byte[] toByteArray()- 指定者:
toByteArray在接口中MessageId
-
getOwnerTopic
- 指定者:
getOwnerTopic在接口中TopicMessageId
-
getLedgerId
public long getLedgerId()- 指定者:
getLedgerId在接口中MessageIdAdv
-
getEntryId
public long getEntryId()- 指定者:
getEntryId在接口中MessageIdAdv
-
getPartitionIndex
public int getPartitionIndex()- 指定者:
getPartitionIndex在接口中MessageIdAdv
-
getBatchIndex
public int getBatchIndex()- 指定者:
getBatchIndex在接口中MessageIdAdv
-
getBatchSize
public int getBatchSize()- 指定者:
getBatchSize在接口中MessageIdAdv
-
getAckSet
- 指定者:
getAckSet在接口中MessageIdAdv
-
getFirstChunkMessageId
- 指定者:
getFirstChunkMessageId在接口中MessageIdAdv
-
toString
-