75961eee2513427d94a1c7e0dbb96ac46195544b
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable s : GridDhtPartitionState to ord : int in method package rent(updateSeq boolean) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Rename Variable s : GridDhtPartitionState to ord : int in method package own() : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type | 9 | ||
Change Variable Type reservations : int to reservations : long in method package rent(updateSeq boolean) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type reservations : int to reservations : long in method package own() : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type reservations : int to reservations : long in method public release() : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type s : GridDhtPartitionState to ord : int in method package own() : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type ret : Collection<T> to ret : List<T> in method public collectionsReducer(size int) : IgniteReducer<Collection<T>,Collection<T>> in class org.apache.ignite.internal.processors.cache.GridCacheUtils | From | To | |
Change Variable Type fut : GridDhtFuture<Collection<GridCacheEntryInfo>> to fut : GridDhtFuture<GridCacheEntryInfo> in method public apply(f IgniteInternalFuture<GridCacheEntryInfo>) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.processNearSingleGetRequest.listen | From | To | |
Change Variable Type reservations : int to reservations : long in method public reserve() : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type s : GridDhtPartitionState to ord : int in method package rent(updateSeq boolean) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Variable Type queue : LinkedList<GridCacheMvccCandidate> to queue : Deque<GridCacheMvccCandidate> in method public addNext(cacheCtx GridCacheContext, cand GridCacheMvccCandidate) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheMvccManager | From | To | |
Extract Variable | 3 | ||
Extract Variable f1 : IgniteInternalFuture<Object> in method public testTwoNodesTwoKeysOneBackup() : void from class org.apache.ignite.internal.processors.cache.distributed.near.GridCacheNearReadersSelfTest | From | To | |
Extract Variable keysSize : int in method public getAllAsync0(keys Collection<KeyCacheObject>, readThrough boolean, checkTx boolean, subjId UUID, taskName String, deserializeBinary boolean, expiry IgniteCacheExpiryPolicy, skipVals boolean, keepCacheObjects boolean, canRemap boolean, needVer boolean) : IgniteInternalFuture<Map<K1,V1>> from class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Variable f2 : IgniteInternalFuture<Object> in method public testTwoNodesTwoKeysOneBackup() : void from class org.apache.ignite.internal.processors.cache.distributed.near.GridCacheNearReadersSelfTest | From | To | |
Extract Method | 6 | ||
Extract Method private casState(reservations long, toState GridDhtPartitionState) : boolean extracted from package rent(updateSeq boolean) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Extract Method private casState(reservations long, toState GridDhtPartitionState) : boolean extracted from package tryEvictAsync(updateSeq boolean) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Extract Method private casState(reservations long, toState GridDhtPartitionState) : boolean extracted from public tryEvict() : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Extract Method private casState(reservations long, toState GridDhtPartitionState) : boolean extracted from package own() : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Extract Method private toEntryInfos(map Map<KeyCacheObject,T2<CacheObject,GridCacheVersion>>) : Collection<GridCacheEntryInfo> extracted from private getAsync(keys Map<KeyCacheObject,Boolean>) : IgniteInternalFuture<Collection<GridCacheEntryInfo>> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtGetFuture | From | To | |
Inline Variable | 2 | ||
Inline Variable ttl : long in method protected processNearSingleGetRequest(nodeId UUID, req GridNearSingleGetRequest) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter | From | To | |
Inline Variable lsnr0 : IgniteBiInClosure<GridNioSession,Integer> in method private send0(ses GridSelectorNioSessionImpl, fut NioOperationFuture<?>, sys boolean) : void from class org.apache.ignite.internal.util.nio.GridNioServer | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type parts : Collection<GridDhtLocalPartition> to parts : int[] in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtGetFuture | From | To | |
Change Attribute Type pending : ThreadLocal<LinkedList<GridCacheMvccCandidate>> to pending : ThreadLocal<Deque<GridCacheMvccCandidate>> in class org.apache.ignite.internal.processors.cache.GridCacheMvccManager | From | To | |
Change Attribute Type state : AtomicStampedReference<GridDhtPartitionState> to state : AtomicLong in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To |