9dfce03301179008c56a5efaaf25b012ab2d8799
Files Diff
- Added: 3
- Removed: 7
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public writeLockedPageMustNotBlockFileUnmapping() : void renamed to public writeLockedPageMustBlockFileUnmapping() : void in class org.neo4j.io.pagecache.PageCacheTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type countUpdater : CountUpdater to format : RecordFormat in method public RecordStresser(pagedFile PagedFile, condition Condition, maxRecords int, format RecordFormat, threadId int, locks TinyLockManager) in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Rename Variable | 1 | ||
Rename Variable pageNumber : int to pageId : int in method public call() : Void in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Rename Class | 2 | ||
Rename Class org.neo4j.io.pagecache.impl.muninn.OptiLockStressTest renamed to org.neo4j.io.pagecache.impl.muninn.OptiLockStressIT | From | To | |
Rename Class org.neo4j.io.pagecache.stress.CountUpdater renamed to org.neo4j.io.pagecache.stress.RecordFormat | From | To | |
Rename Attribute | 4 | ||
Rename Attribute maxPages : int to maxRecords : int in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Rename Attribute countKeeper : CountKeeper to locks : TinyLockManager in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Rename Attribute counterNumber : int to threadId : int in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Rename Attribute countUpdater : CountUpdater to format : RecordFormat in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Extract Variable | 2 | ||
Extract Variable futures : List<Future<Void>> in method private execute(recordStressers List<RecordStresser>) : void from class org.neo4j.io.pagecache.stress.PageCacheStresser | From | To | |
Extract Variable unmapper : Thread in method public writeLockedPageMustBlockFileUnmapping() : void from class org.neo4j.io.pagecache.PageCacheTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type countUpdater : CountUpdater to format : RecordFormat in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Change Attribute Type countKeeper : CountKeeper to locks : TinyLockManager in class org.neo4j.io.pagecache.stress.RecordStresser | From | To | |
Change Attribute Type recordLocks : ReentrantLock[] to recordLocks : TinyLockManager in class org.neo4j.io.pagecache.randomharness.CommandPrimer | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public stress(pageCache PageCache, condition Condition) : void extracted from public run() : void in class org.neo4j.io.pagecache.stress.PageCacheStressTest & moved to class org.neo4j.io.pagecache.stress.PageCacheStresser | From | To | |
Rename Parameter | 3 | ||
Rename Parameter value : int to numberOfThreads : int in method public withNumberOfThreads(numberOfThreads int) : Builder in class org.neo4j.io.pagecache.stress.PageCacheStressTest.Builder | From | To | |
Rename Parameter value : int to numberOfCachePages : int in method public withNumberOfCachePages(numberOfCachePages int) : Builder in class org.neo4j.io.pagecache.stress.PageCacheStressTest.Builder | From | To | |
Rename Parameter countUpdater : CountUpdater to format : RecordFormat in method public RecordStresser(pagedFile PagedFile, condition Condition, maxRecords int, format RecordFormat, threadId int, locks TinyLockManager) in class org.neo4j.io.pagecache.stress.RecordStresser | From | To |