Package org.apache.pulsar.client.impl
Class TopicMessageIdImpl
java.lang.Object
org.apache.pulsar.client.impl.TopicMessageIdImpl
- All Implemented Interfaces:
Serializable,Comparable<MessageId>,MessageId,MessageIdAdv,TopicMessageId
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTopicMessageIdImpl(String topicPartitionName, String topicName, MessageId messageId) Deprecated.TopicMessageIdImpl(String topic, MessageIdAdv msgId) -
Method Summary
-
Constructor Details
-
TopicMessageIdImpl
-
TopicMessageIdImpl
@Deprecated public TopicMessageIdImpl(String topicPartitionName, String topicName, MessageId messageId) Deprecated.
-
-
Method Details
-
getTopicName
Deprecated.Get the topic name without partition part of this message.- Returns:
- the name of the topic on which this message was published
-
getTopicPartitionName
Deprecated.Get the topic name which contains partition part for this message.- Returns:
- the topic name which contains Partition part
-
getInnerMessageId
Deprecated. -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<MessageId>- Specified by:
compareToin interfaceMessageIdAdv
-
toByteArray
public byte[] toByteArray()- Specified by:
toByteArrayin interfaceMessageId
-
getOwnerTopic
- Specified by:
getOwnerTopicin interfaceTopicMessageId
-
getLedgerId
public long getLedgerId()- Specified by:
getLedgerIdin interfaceMessageIdAdv
-
getEntryId
public long getEntryId()- Specified by:
getEntryIdin interfaceMessageIdAdv
-
getPartitionIndex
public int getPartitionIndex()- Specified by:
getPartitionIndexin interfaceMessageIdAdv
-
getBatchIndex
public int getBatchIndex()- Specified by:
getBatchIndexin interfaceMessageIdAdv
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein interfaceMessageIdAdv
-
getAckSet
- Specified by:
getAckSetin interfaceMessageIdAdv
-
getFirstChunkMessageId
- Specified by:
getFirstChunkMessageIdin interfaceMessageIdAdv
-
toString
-