Uses of Class
org.apache.pulsar.client.impl.MessageImpl
Packages that use MessageImpl
-
Uses of MessageImpl in org.apache.pulsar.client.impl
Methods in org.apache.pulsar.client.impl that return MessageImplModifier and TypeMethodDescriptionstatic <T> MessageImpl<T>MessageImpl.create(String topic, BatchMessageIdImpl batchMessageIdImpl, MessageMetadata batchMetadata, SingleMessageMetadata singleMessageMetadata, io.netty.buffer.ByteBuf payload, Optional<EncryptionContext> encryptionCtx, ClientCnx cnx, Schema<T> schema, int redeliveryCount, boolean pooledMessage, long consumerEpoch) static <T> MessageImpl<T>MessageImpl.create(String topic, MessageIdImpl messageId, MessageMetadata msgMetadata, io.netty.buffer.ByteBuf payload, Optional<EncryptionContext> encryptionCtx, ClientCnx cnx, Schema<T> schema, int redeliveryCount, boolean pooledMessage, long consumerEpoch) static <T> MessageImpl<T>MessageImpl.create(MessageMetadata msgMetadata, ByteBuffer payload, Schema<T> schema, String topic) static MessageImpl<byte[]>MessageImpl.deserialize(io.netty.buffer.ByteBuf headersAndPayload) static MessageImpl<byte[]>MessageImpl.deserializeSkipBrokerEntryMetaData(io.netty.buffer.ByteBuf headersAndPayloadWithBrokerEntryMetadata) MessageImpl<?>SendCallback.getNextMessage()Return next message in chain.protected <V> MessageImpl<V>ConsumerImpl.newMessage(MessageIdImpl messageId, BrokerEntryMetadata brokerEntryMetadata, MessageMetadata messageMetadata, io.netty.buffer.ByteBuf payload, Schema<V> schema, int redeliveryCount, long consumerEpoch) protected <V> MessageImpl<V>ConsumerImpl.newSingleMessage(int index, int numMessages, BrokerEntryMetadata brokerEntryMetadata, MessageMetadata msgMetadata, SingleMessageMetadata singleMessageMetadata, io.netty.buffer.ByteBuf payload, MessageIdImpl messageId, Schema<V> schema, boolean containMetadata, BitSetRecyclable ackBitSet, BitSet ackSetInMessageId, int redeliveryCount, long consumerEpoch) Methods in org.apache.pulsar.client.impl that return types with arguments of type MessageImplMethods in org.apache.pulsar.client.impl with parameters of type MessageImplModifier and TypeMethodDescriptionbooleanBatchMessageContainerBase.add(MessageImpl<?> msg, SendCallback callback) Add message to the batch message container.voidSendCallback.addCallback(MessageImpl<?> msg, SendCallback scb) used to specify a callback to be invoked on completion of a send operation for individual messages sent in a batch.booleanBatchMessageContainerBase.hasSameSchema(MessageImpl<?> msg) Check the batch message container has same schema with the message want to add.booleanAbstractBatchMessageContainer.hasSameTxn(MessageImpl<?> msg) booleanBatchMessageContainerBase.hasSameTxn(MessageImpl<?> msg) Check whether the added message belong to the same txn with batch message container.booleanAbstractBatchMessageContainer.haveEnoughSpace(MessageImpl<?> msg) booleanBatchMessageContainerBase.haveEnoughSpace(MessageImpl<?> msg) Check the batch message container have enough space for the message want to add.protected booleanConsumerBase.isValidConsumerEpoch(MessageImpl<T> message)