a46d8974bc06afac5b549c8364ff70104ea1ccdb
Files Diff
- Added: 3
- Removed: 5
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public fileStreams() : Map<String,StringBuffer> renamed to public getFilesystem() : Map<String,StringBuffer> in class org.neo4j.causalclustering.catchup.storecopy.InMemoryFileSystemStream | From | To | |
Rename Method private prepareStoreCopy(from AdvertisedSocketAddress, expectedStoreId StoreId, storeFileStream StoreFileStreamProvider) : PrepareStoreCopyResponse renamed to private listFiles(from AdvertisedSocketAddress, expectedStoreId StoreId, storeFileStreams StoreFileStreams) : PrepareStoreCopyResponse in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type storeFileStreamsProvider : InMemoryStoreStreamProvider to storeFileStreams : InMemoryFileSystemStream in method private clientFileContents(storeFileStreams InMemoryFileSystemStream, filename String) : String in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Change Parameter Type storeFileStream : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method private copyFilesIndividually(prepareStoreCopyResponse PrepareStoreCopyResponse, expectedStoreId StoreId, addressProvider CatchupAddressProvider, storeFileStreams StoreFileStreams, terminationConditions Supplier<TerminationCondition>) : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Change Parameter Type storeFileStream : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method private listFiles(from AdvertisedSocketAddress, expectedStoreId StoreId, storeFileStreams StoreFileStreams) : PrepareStoreCopyResponse in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Change Parameter Type storeFileStream : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method private copyIndexSnapshotIndividually(prepareStoreCopyResponse PrepareStoreCopyResponse, expectedStoreId StoreId, addressProvider CatchupAddressProvider, storeFileStreams StoreFileStreams, terminationConditions Supplier<TerminationCondition>) : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Change Parameter Type storeFileStreamProvider : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method package copyStoreFiles(catchupAddressProvider CatchupAddressProvider, expectedStoreId StoreId, storeFileStreams StoreFileStreams, requestWiseTerminationCondition Supplier<TerminationCondition>) : long in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Inline Method | 1 | ||
Inline Method private serverFileContentsStringBuilder(file File, fileSystemAbstraction FileSystemAbstraction) : StringBuilder inlined to package fileContent(file File, fsa FileSystemAbstraction) : String in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Change Return Type | 1 | ||
Change Return Type StoreFileStream to StoreFileStreams in method public getStoreFileStreams() : StoreFileStreams in class org.neo4j.causalclustering.catchup.storecopy.StoreFileReceiver | From | To | |
Move Attribute | 4 | ||
Move Attribute private pageCache : PageCache from class org.neo4j.causalclustering.catchup.storecopy.StreamToDiskProvider to private pageCache : PageCache from class org.neo4j.causalclustering.catchup.storecopy.StreamToDisk | From | To | |
Move Attribute private fileCopyMonitor : FileCopyMonitor from class org.neo4j.causalclustering.catchup.storecopy.StreamToDiskProvider to private fileCopyMonitor : FileCopyMonitor from class org.neo4j.causalclustering.catchup.storecopy.StreamToDisk | From | To | |
Move Attribute private storeDir : File from class org.neo4j.causalclustering.catchup.storecopy.StreamToDiskProvider to private storeDir : File from class org.neo4j.causalclustering.catchup.storecopy.StreamToDisk | From | To | |
Move Attribute private fs : FileSystemAbstraction from class org.neo4j.causalclustering.catchup.storecopy.StreamToDiskProvider to private fs : FileSystemAbstraction from class org.neo4j.causalclustering.catchup.storecopy.StreamToDisk | From | To | |
Rename Class | 2 | ||
Rename Class org.neo4j.causalclustering.catchup.storecopy.StoreFileStream renamed to org.neo4j.causalclustering.catchup.storecopy.StoreFileStreams | From | To | |
Rename Class org.neo4j.causalclustering.catchup.storecopy.InMemoryStoreStreamProvider renamed to org.neo4j.causalclustering.catchup.storecopy.InMemoryFileSystemStream | From | To | |
Rename Attribute | 2 | ||
Rename Attribute streamToDiskProvider : StreamToDiskProvider to streamToDisk : StreamToDisk in class org.neo4j.causalclustering.catchup.storecopy.SimpleCatchupClient | From | To | |
Rename Attribute expectedStoreFileStream : StoreFileStreamProvider to expectedStoreFileStreams : StoreFileStreams in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientTest | From | To | |
Split Variable | 1 | ||
Split Variable writerProvider : StreamToDiskProvider to [tempBuffer : ByteBuffer, writer : StreamToDisk] in method public shouldLetPageCacheHandleRecordStoresAndNativeLabelScanStoreFiles() : void in class org.neo4j.causalclustering.catchup.storecopy.StreamToDiskTest | From | To | |
Change Variable Type | 3 | ||
Change Variable Type clientStoreFileStream : InMemoryStoreStreamProvider to clientStoreFileStream : InMemoryFileSystemStream in method public failedFileCopyShouldRetry() : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Change Variable Type storeFileStream : InMemoryStoreStreamProvider to storeFileStream : InMemoryFileSystemStream in method public canPerformCatchup() : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Change Variable Type storeFileStream : InMemoryStoreStreamProvider to storeFileStream : InMemoryFileSystemStream in method public reconnectingWorks() : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type streamToDiskProvider : StreamToDiskProvider to streamToDisk : StreamToDisk in class org.neo4j.causalclustering.catchup.storecopy.SimpleCatchupClient | From | To | |
Change Attribute Type expectedStoreFileStream : StoreFileStreamProvider to expectedStoreFileStreams : StoreFileStreams in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientTest | From | To | |
Rename Parameter | 6 | ||
Rename Parameter storeFileStreamsProvider : InMemoryStoreStreamProvider to storeFileStreams : InMemoryFileSystemStream in method private clientFileContents(storeFileStreams InMemoryFileSystemStream, filename String) : String in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Rename Parameter storeFileStream : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method private copyFilesIndividually(prepareStoreCopyResponse PrepareStoreCopyResponse, expectedStoreId StoreId, addressProvider CatchupAddressProvider, storeFileStreams StoreFileStreams, terminationConditions Supplier<TerminationCondition>) : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Rename Parameter storeFileStream : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method private listFiles(from AdvertisedSocketAddress, expectedStoreId StoreId, storeFileStreams StoreFileStreams) : PrepareStoreCopyResponse in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Rename Parameter storeFileStream : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method private copyIndexSnapshotIndividually(prepareStoreCopyResponse PrepareStoreCopyResponse, expectedStoreId StoreId, addressProvider CatchupAddressProvider, storeFileStreams StoreFileStreams, terminationConditions Supplier<TerminationCondition>) : void in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To | |
Rename Parameter fileSystemAbstraction : FileSystemAbstraction to fsa : FileSystemAbstraction in method package fileContent(file File, fsa FileSystemAbstraction) : String in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClientIT | From | To | |
Rename Parameter storeFileStreamProvider : StoreFileStreamProvider to storeFileStreams : StoreFileStreams in method package copyStoreFiles(catchupAddressProvider CatchupAddressProvider, expectedStoreId StoreId, storeFileStreams StoreFileStreams, requestWiseTerminationCondition Supplier<TerminationCondition>) : long in class org.neo4j.causalclustering.catchup.storecopy.StoreCopyClient | From | To |