299f557d9b0b7cbc4f7584d28be302056c6fb46c
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type reservations : List<GridReservable> to reservations : PartitionReservation in method public QueryContext(segment int, filter IndexingQueryFilter, distributedJoinCtx DistributedJoinContext, mvccSnapshot MvccSnapshot, reservations PartitionReservation) in class org.apache.ignite.internal.processors.query.h2.opt.QueryContext | From | To | |
Move Method | 4 | ||
Move Method public onCacheStop(cacheName String) : void from class org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor to public onCacheStop(cacheName String) : void from class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager | From | To | |
Move Method private reservePartitions(cacheIds List<Integer>, topVer AffinityTopologyVersion, explicitParts int[], reserved List<GridReservable>, nodeId UUID, reqId long) : String from class org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor to public reservePartitions(cacheIds List<Integer>, topVer AffinityTopologyVersion, explicitParts int[], nodeId UUID, reqId long) : PartitionReservation from class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager | From | To | |
Move Method private ignoreLostPartitionIfPossible(cctx GridCacheContext, part GridDhtLocalPartition) : void from class org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor to private ignoreLostPartitionIfPossible(cctx GridCacheContext, part GridDhtLocalPartition) : void from class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager | From | To | |
Move Method private partition(cctx GridCacheContext<?,?>, p int) : GridDhtLocalPartition from class org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor to private partition(cctx GridCacheContext<?,?>, p int) : GridDhtLocalPartition from class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager | From | To | |
Change Return Type | 1 | ||
Change Return Type String to PartitionReservation in method public reservePartitions(cacheIds List<Integer>, topVer AffinityTopologyVersion, explicitParts int[], nodeId UUID, reqId long) : PartitionReservation in class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager from class org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.ignite.internal.processors.query.h2.twostep.MapReservationKey renamed to org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationKey | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.ignite.internal.processors.query.h2.twostep.MapReplicatedReservation moved and renamed to org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationManager.ReplicatedReservable | From | To | |
Change Variable Type | 1 | ||
Change Variable Type other : MapReservationKey to other : PartitionReservationKey in method public equals(o Object) : boolean in class org.apache.ignite.internal.processors.query.h2.twostep.PartitionReservationKey | From | To | |
Extract Variable | 1 | ||
Extract Variable qctx : QueryContext in method private onQueryRequest0(node ClusterNode, reqId long, segmentId int, schemaName String, qrys Collection<GridCacheSqlQuery>, cacheIds List<Integer>, topVer AffinityTopologyVersion, partsMap Map<UUID,int[]>, parts int[], pageSize int, distributeJoins boolean, local boolean, enforceJoinOrder boolean, replicated boolean, timeout int, params Object[], lazy boolean, mvccSnapshot MvccSnapshot, tx GridDhtTxLocalAdapter, txDetails GridH2SelectForUpdateTxDetails, lockFut CompoundLockFuture, runCntr AtomicInteger, dataPageScanEnabled Boolean) : void from class org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type reservations : List<GridReservable> to reservations : PartitionReservation in class org.apache.ignite.internal.processors.query.h2.opt.QueryContext | From | To | |
Rename Parameter | 1 | ||
Rename Parameter realExecutor : GridMapQueryExecutor to startedExecutor : GridMapQueryExecutor in method package insertRealExecutor(startedExecutor GridMapQueryExecutor) : MockGridMapQueryExecutor in class org.apache.ignite.internal.processors.query.h2.twostep.RetryCauseMessageSelfTest.MockGridMapQueryExecutor | From | To |