e8eeea375584bb31a8a9f60e43c8206cd4753d64
Files Diff
- Added: 25
 - Removed: 0
 - Renamed: 0
 - Modified: 59
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public testStartFrom2kDefaultStore() : void renamed to public testStartFrom16kDefaultStore() : void in class org.apache.ignite.internal.processors.cache.persistence.db.file.DefaultPageSizeBackwardsCompatibilityTest | From | To | |
| Rename Method public getFsBlockSize(storageDir String, log IgniteLogger) : int renamed to public getDirectIOBlockSize(storageDir String, log IgniteLogger) : int in class org.apache.ignite.internal.processors.cache.persistence.file.IgniteNativeIoLib | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to int in method public addRow(pageAddr long, payload byte[], pageSize int) : int in class org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private fsBlockSize : int from class org.apache.ignite.internal.processors.cache.persistence.file.AlignedBuffersDirectFileIOFactory to private fsBlockSize : int from class org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO | From | To | |
| Move Attribute private fsBlockSize : int from class org.apache.ignite.internal.processors.cache.persistence.file.AlignedBuffersDirectFileIOFactory to private fsBlockSize : int from class org.apache.ignite.internal.processors.cache.persistence.file.AsyncFileIO | From | To | |
| Extract Attribute | 2 | ||
| Extract Attribute public MIN_PAGE_SIZE : int in class org.apache.ignite.configuration.DataStorageConfiguration | From | To | |
| Extract Attribute private NO_PERSISTENCE : String in class org.apache.ignite.internal.processors.cache.persistence.IgniteDataStorageMetricsSelfTest | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute set2kPageSize : boolean to set16kPageSize : boolean in class org.apache.ignite.internal.processors.cache.persistence.db.file.DefaultPageSizeBackwardsCompatibilityTest | From | To | |
| Rename Attribute fsBlockSize : int to ioBlockSize : int in class org.apache.ignite.internal.processors.cache.persistence.file.AlignedBuffersDirectFileIOFactory | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type sb : SB to sb : StringBuilder in method public byteArray2HexString(arr byte[]) : String in class org.apache.ignite.internal.util.IgniteUtils | From | To | |
| Extract Method | 3 | ||
| Extract Method private readIntoUnalignedBuffer(destBuf ByteBuffer, filePosition long, size int) : int extracted from public read(destBuf ByteBuffer, filePosition long) : int in class org.apache.ignite.internal.processors.cache.persistence.file.AlignedBuffersDirectFileIO | From | To | |
| Extract Method private writeFromUnalignedBuffer(srcBuf ByteBuffer, filePosition long) : int extracted from public write(srcBuf ByteBuffer, filePosition long) : int in class org.apache.ignite.internal.processors.cache.persistence.file.AlignedBuffersDirectFileIO | From | To | |
| Extract Method private updateMetrics(chp Checkpoint, tracker CheckpointMetricsTracker) : void extracted from private doCheckpoint() : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.Checkpointer | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter fsBlockSize : int to ioBlockSize : int in method package AlignedBuffersDirectFileIO(ioBlockSize int, pageSize int, file File, modes OpenOption[], tlbOnePageAligned ThreadLocal<ByteBuffer>, managedAlignedBuffers ConcurrentHashMap<Long,Thread>, log IgniteLogger) in class org.apache.ignite.internal.processors.cache.persistence.file.AlignedBuffersDirectFileIO | From | To |