7badf1ab833f36319edb5e373e76966ed74958ab
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable cursorName : String to subscriptionName : String in method public PersistentTopic(topic String, ledger ManagedLedger, brokerService BrokerService) in class com.yahoo.pulsar.broker.service.persistent.PersistentTopic | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type batchMessageAckTracker : ConcurrentSkipListMap<MessageIdImpl,BitSet> to batchMessageAckTracker : ConcurrentNavigableMap<MessageIdImpl,BitSet> in class com.yahoo.pulsar.client.impl.ConsumerImpl | From | To | |
Extract Method | 2 | ||
Extract Method public newSubscribe(topic String, subscription String, consumerId long, requestId long, subType SubType, priorityLevel int, consumerName String, isDurable boolean, startMessageId MessageIdData) : ByteBuf extracted from public newSubscribe(topic String, subscription String, consumerId long, requestId long, subType SubType, priorityLevel int, consumerName String) : ByteBuf in class com.yahoo.pulsar.common.api.Commands | From | To | |
Extract Method private getDurableSubscription(subscriptionName String) : CompletableFuture<Subscription> extracted from public subscribe(cnx ServerCnx, subscriptionName String, consumerId long, subType SubType, priorityLevel int, consumerName String) : CompletableFuture<Consumer> in class com.yahoo.pulsar.broker.service.persistent.PersistentTopic | From | To |