5ac44fe06852aa6dc445725efd5abffd81aa6d75
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type bookKeeper : BookKeeper to bookKeeperGroupFactory : BookkeeperFactoryForCustomEnsemblePlacementPolicy in method private ManagedLedgerFactoryImpl(bookKeeperGroupFactory BookkeeperFactoryForCustomEnsemblePlacementPolicy, isBookkeeperManaged boolean, zooKeeper ZooKeeper, config ManagedLedgerFactoryConfig) in class org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl | From | To | |
Extract Method | 2 | ||
Extract Method private createBkClientConfiguration(conf ServiceConfiguration) : ClientConfiguration extracted from public create(conf ServiceConfiguration, zkClient ZooKeeper) : BookKeeper in class org.apache.pulsar.broker.BookKeeperClientFactoryImpl | From | To | |
Extract Method private setDefaultEnsemblePlacementPolicy(bkConf ClientConfiguration, conf ServiceConfiguration, zkClient ZooKeeper) : void extracted from public create(conf ServiceConfiguration, zkClient ZooKeeper) : BookKeeper in class org.apache.pulsar.broker.BookKeeperClientFactoryImpl | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public getBookKeeperEnsemblePlacementPolicyClassName() : Class<? extends EnsemblePlacementPolicy> extracted from public asyncOpen(name String, config ManagedLedgerConfig, callback OpenLedgerCallback, ctx Object) : void in class org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl & moved to class org.apache.bookkeeper.mledger.ManagedLedgerConfig | From | To | |
Extract And Move Method public getBookKeeperEnsemblePlacementPolicyProperties() : Map<String,Object> extracted from public asyncOpen(name String, config ManagedLedgerConfig, callback OpenLedgerCallback, ctx Object) : void in class org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl & moved to class org.apache.bookkeeper.mledger.ManagedLedgerConfig | From | To | |
Extract And Move Method public setBookKeeperEnsemblePlacementPolicyClassName(bookKeeperEnsemblePlacementPolicyClassName Class<? extends EnsemblePlacementPolicy>) : void extracted from public getManagedLedgerConfig(topicName TopicName) : CompletableFuture<ManagedLedgerConfig> in class org.apache.pulsar.broker.service.BrokerService & moved to class org.apache.bookkeeper.mledger.ManagedLedgerConfig | From | To | |
Extract And Move Method public setBookKeeperEnsemblePlacementPolicyProperties(bookKeeperEnsemblePlacementPolicyProperties Map<String,Object>) : void extracted from public getManagedLedgerConfig(topicName TopicName) : CompletableFuture<ManagedLedgerConfig> in class org.apache.pulsar.broker.service.BrokerService & moved to class org.apache.bookkeeper.mledger.ManagedLedgerConfig | From | To | |
Rename Parameter | 1 | ||
Rename Parameter bookKeeper : BookKeeper to bookKeeperGroupFactory : BookkeeperFactoryForCustomEnsemblePlacementPolicy in method private ManagedLedgerFactoryImpl(bookKeeperGroupFactory BookkeeperFactoryForCustomEnsemblePlacementPolicy, isBookkeeperManaged boolean, zooKeeper ZooKeeper, config ManagedLedgerFactoryConfig) in class org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl | From | To |