44f3fac27bec89b5e70e87564c527e48565ddd2a
Files Diff
- Added: 9
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method private advance() : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to protected advance() : void from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Pull Up Method protected onNext() : IgniteBiTuple<WALPointer,WALRecord> from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to protected onNext() : IgniteBiTuple<WALPointer,WALRecord> from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Pull Up Method protected onHasNext() : boolean from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to protected onHasNext() : boolean from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public run() : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.QueueFlusher to private doFlush() : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type desc : FileDescriptor to desc : FileWriteAheadLogManager.FileDescriptor in method protected initReadHandle(desc FileWriteAheadLogManager.FileDescriptor, start FileWALPointer) : FileWriteAheadLogManager.ReadFileHandle in class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Move Method | 1 | ||
Move Method private initReadHandle(desc FileDescriptor, start FileWALPointer) : ReadFileHandle from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to protected initReadHandle(desc FileWriteAheadLogManager.FileDescriptor, start FileWALPointer) : FileWriteAheadLogManager.ReadFileHandle from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Rename Variable | 5 | ||
Rename Variable current : FileWriteHandle to currWrHandle : FileWriteHandle in method public log(record WALRecord) : WALPointer in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Rename Variable workFile : File to res : SegmentArchiveResult in method public run() : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver | From | To | |
Rename Variable flusher0 : QueueFlusher to schedule : GridTimeoutProcessor.CancelableTask in method protected stop0(cancel boolean) : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Rename Variable currentHnd : FileWriteHandle to currHnd : FileWriteHandle in method protected stop0(cancel boolean) : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Rename Variable allocate : ByteBuffer to buf : ByteBuffer in method private close(rollOver boolean) : boolean in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileWriteHandle | From | To | |
Pull Up Attribute | 4 | ||
Pull Up Attribute private buf : ByteBuffer from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to private buf : ByteBuffer from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Pull Up Attribute private log : IgniteLogger from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to protected log : IgniteLogger from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Pull Up Attribute private curRec : IgniteBiTuple<WALPointer,WALRecord> from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to protected curRec : IgniteBiTuple<WALPointer,WALRecord> from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Pull Up Attribute private serializer : RecordSerializer from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator to private serializer : RecordSerializer from class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Change Return Type | 2 | ||
Change Return Type File to SegmentArchiveResult in method private archiveSegment(absIdx long) : SegmentArchiveResult in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver | From | To | |
Change Return Type ReadFileHandle to FileWriteAheadLogManager.ReadFileHandle in method protected initReadHandle(desc FileWriteAheadLogManager.FileDescriptor, start FileWALPointer) : FileWriteAheadLogManager.ReadFileHandle in class org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator | From | To | |
Extract Attribute | 3 | ||
Extract Attribute private CRC_SIZE : int in class org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer | From | To | |
Extract Attribute public FILE_WAL_POINTER_SIZE : int in class org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer | From | To | |
Extract Attribute public REC_TYPE_SIZE : int in class org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator from classes [org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute flusher : QueueFlusher to backgroundFlushSchedule : GridTimeoutProcessor.CancelableTask in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Change Variable Type | 3 | ||
Change Variable Type workFile : File to res : SegmentArchiveResult in method public run() : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver | From | To | |
Change Variable Type ig0 : IgniteEx to ig0 : Ignite in method public testNodeLeftDuringExchange() : void in class org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalHistoryReservationsTest | From | To | |
Change Variable Type flusher0 : QueueFlusher to schedule : GridTimeoutProcessor.CancelableTask in method protected stop0(cancel boolean) : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type flusher : QueueFlusher to backgroundFlushSchedule : GridTimeoutProcessor.CancelableTask in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To |