cb34e6a51af58225ab7b62a6afec916768654f24
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public getBatchSizeforEntry(metadataAndPayload ByteBuf, subscription Subscription, consumerId long) : int from class org.apache.pulsar.broker.service.Consumer to public peekMessageMetadata(metadataAndPayload ByteBuf, subscription String, consumerId long) : MessageMetadata from class org.apache.pulsar.common.api.Commands | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type subscription : Subscription to subscription : String in method public peekMessageMetadata(metadataAndPayload ByteBuf, subscription String, consumerId long) : MessageMetadata in class org.apache.pulsar.common.api.Commands | From | To | |
Change Return Type | 2 | ||
Change Return Type int to MessageMetadata in method public peekMessageMetadata(metadataAndPayload ByteBuf, subscription String, consumerId long) : MessageMetadata in class org.apache.pulsar.common.api.Commands | From | To | |
Change Return Type SendMessageInfo to ChannelPromise in method public sendMessages(entries List<Entry>, batchSizes EntryBatchSizes, totalMessages int, totalBytes long, redeliveryTracker RedeliveryTracker) : ChannelPromise in class org.apache.pulsar.broker.service.Consumer | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.pulsar.broker.service.AbstractBaseDispatcher from classes [org.apache.pulsar.broker.service.AbstractDispatcherMultipleConsumers, org.apache.pulsar.broker.service.AbstractDispatcherSingleActiveConsumer] | From | To |