62f3c4c52f5aad82e51e93b7981e670090cddd4c
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected beforeTestsStarted() : void renamed to protected beforeTest() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type consistentId : String to consistentId : Serializable in method public MockWalIteratorFactory(log IgniteLogger, pageSize int, consistentId Serializable, subfolderName String, segments int) in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.MockWalIteratorFactory | From | To | |
Rename Variable | 9 | ||
Rename Variable walWorkDirWithConsistentId : File to walWorkDirWithNodeSubDir : File in method private scanIterateAndCount(factory IgniteWalIteratorFactory, workDir String, subfolderName String, expCntEntries int, expTxCnt int, objConsumer BiConsumer<Object,Object>, dataRecordHnd Consumer<DataRecord>) : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Rename Variable consId : String to folderName : String in method private buildAllocPath(plc MemoryPolicyConfiguration) : File in class org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager | From | To | |
Rename Variable consistentId : String to subfolderName : String in method public testFillWalWithDifferentTypes() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Rename Variable consId : String to ctx : GridKernalContext in method public start0() : void in class org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager | From | To | |
Rename Variable consistentId : String to subfolderName : String in method public testFillWalAndReadRecords() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Rename Variable consId : String to subFolder : String in method package BinaryMetadataFileStore(metadataLocCache ConcurrentMap<Integer,BinaryMetadataHolder>, ctx GridKernalContext, log IgniteLogger, binaryMetadataFileStoreDir File) in class org.apache.ignite.internal.processors.cache.binary.BinaryMetadataFileStore | From | To | |
Rename Variable binObjToStringChecker : Consumer<DataRecord> to binObjToStrChecker : Consumer<DataRecord> in method public testFillWalWithDifferentTypes() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Rename Variable binaryMetaWithConsId : File to binaryMetaWithNodeSubfolder : File in method public testFillWalWithDifferentTypes() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Rename Variable consistentId : String to subfolderName : String in method public testTxFillWalAndExtractDataRecords() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Change Return Type | 1 | ||
Change Return Type Object to Serializable in method public consistentId() : Serializable in class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute marshallerContext : MarshallerContextImpl to marshallerCtx : MarshallerContextImpl in class org.apache.ignite.internal.processors.cache.persistence.wal.reader.StandaloneGridKernalContext | From | To | |
Change Variable Type | 1 | ||
Change Variable Type consId : String to ctx : GridKernalContext in method public start0() : void in class org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager | From | To | |
Extract Variable | 4 | ||
Extract Variable consistentId : Object in method public testWalRenameDirSimple() : void from class org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalRecoveryTest | From | To | |
Extract Variable discovery : GridDiscoveryManager in method public tryLock(lockWaitTimeMillis long) : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.FileLockHolder | From | To | |
Extract Variable kernalCtx : GridKernalContext in method protected start0() : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Variable node : ClusterNode in method public tryLock(lockWaitTimeMillis long) : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.FileLockHolder | From | To | |
Inline Variable | 1 | ||
Inline Variable consId : String in method protected buildAllocPath(plc MemoryPolicyConfiguration) : File from class org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager | From | To | |
Extract Method | 1 | ||
Extract Method private getInjectedDiscoverySpi() : DiscoverySpi extracted from public consistentId() : Object in class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type consistentId : String to consistentId : Serializable in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.MockWalIteratorFactory | From | To | |
Change Attribute Type consistentId : Object to consistentId : Serializable in class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter consistentId : String to subfolderName : String in method private scanIterateAndCount(factory IgniteWalIteratorFactory, workDir String, subfolderName String, expCntEntries int, expTxCnt int, objConsumer BiConsumer<Object,Object>, dataRecordHnd Consumer<DataRecord>) : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To |