43b73156f44a61a07035d60df470551ccbebb5d1
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public pause() : void renamed to public stop() : void in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Inline Method | 1 | ||
| Inline Method private resetLastQueuedTxId() : void inlined to package refreshFromNewStore() : void in class org.neo4j.causalclustering.catchup.tx.BatchingTxApplier | From | To | |
| Change Return Type | 1 | ||
| Change Return Type TxPollingClient to CatchupPollingProcess in method public txPollingClient() : CatchupPollingProcess in class org.neo4j.causalclustering.discovery.ReadReplica | From | To | |
| Rename Class | 1 | ||
| Rename Class org.neo4j.causalclustering.catchup.tx.TxPollingClient renamed to org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute moreToPull : boolean to state : State in method private panic(e Throwable) : void in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type moreToPull : boolean to state : State in method private panic(e Throwable) : void in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Change Variable Type pollingClient : TxPollingClient to pollingClient : CatchupPollingProcess in method public transactionsShouldNotAppearOnTheReadReplicaWhilePollingIsPaused() : void in class org.neo4j.causalclustering.scenarios.CausalConsistencyIT | From | To | |
| Extract Method | 4 | ||
| Extract Method private pullTransactions() : void extracted from private onTimeout() : void in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Extract Method private panic(e Throwable) : void extracted from private onTimeout() : void in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Extract Method private handleTransaction(tx CommittedTransactionRepresentation) : void extracted from private pullAndApplyBatchOfTransactions(core MemberId, localStoreId StoreId, batchCount int) : boolean in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To | |
| Extract Method private streamComplete() : void extracted from private pullAndApplyBatchOfTransactions(core MemberId, localStoreId StoreId, batchCount int) : boolean in class org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess | From | To |