2311de4777bff3a6f97904e547cc028d6ea1e51f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public onExecuted(cctx GridCacheContext<?,?>, metrics GridCacheQueryMetricsAdapter, res Object, err Throwable, startTime long, duration long, log IgniteLogger) : void renamed to public onCompleted(cctx GridCacheContext<?,?>, res Object, err Throwable, startTime long, duration long, log IgniteLogger) : void in class org.apache.ignite.internal.processors.query.GridQueryProcessor | From | To | |
Rename Method public onMetricsUpdate(duration long, fail boolean) : void renamed to public onCompleted(duration long, fail boolean) : void in class org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager | From | To | |
Rename Variable | 1 | ||
Rename Variable start : long to startTime : long in method public executeQuery(cctx GridCacheContext<?,?>, clo IgniteOutClosureX<R>, complete boolean) : R in class org.apache.ignite.internal.processors.query.GridQueryProcessor | From | To | |
Inline Method | 2 | ||
Inline Method private queryErrorFuture(cctx GridCacheContext<?,?>, e Exception, log IgniteLogger) : GridCacheQueryErrorFuture<T> inlined to private execute(rmtReducer IgniteReducer<T,R>, rmtTransform IgniteClosure<T,R>, args Object...) : CacheQueryFuture<R> in class org.apache.ignite.internal.processors.cache.query.GridCacheQueryAdapter | From | To | |
Change Variable Type | 4 | ||
Change Variable Type m : QueryMetrics to m : GridCacheQueryMetricsAdapter in method private testQueryMetrics(cache IgniteCache<String,Integer>, qry Query) : void in class org.apache.ignite.internal.processors.cache.CacheAbstractQueryMetricsSelfTest | From | To | |
Change Variable Type m : QueryMetrics to m : GridCacheQueryMetricsAdapter in method private testQueryFailedMetrics(cache IgniteCache<String,Integer>, qry Query) : void in class org.apache.ignite.internal.processors.cache.CacheAbstractQueryMetricsSelfTest | From | To | |
Extract Variable | 1 | ||
Extract Variable part : Integer in method private nodes() : Collection<ClusterNode> from class org.apache.ignite.internal.processors.cache.query.GridCacheQueryAdapter | From | To | |
Extract Method | 4 | ||
Extract Method private testQueryMetrics(cache IgniteCache<String,Integer>, qry Query) : void extracted from public testSqlFieldsQueryMetrics() : void in class org.apache.ignite.internal.processors.cache.CacheAbstractQueryMetricsSelfTest | From | To | |
Extract Method private testQueryFailedMetrics(cache IgniteCache<String,Integer>, qry Query) : void extracted from public testSqlCrossCacheQueryFailedMetrics() : void in class org.apache.ignite.internal.processors.cache.CacheAbstractQueryMetricsSelfTest | From | To | |
Extract Method private testQueryMetrics(cache IgniteCache<String,Integer>, qry Query) : void extracted from public testSqlCrossCacheQueryMetrics() : void in class org.apache.ignite.internal.processors.cache.CacheAbstractQueryMetricsSelfTest | From | To | |
Extract Method private testQueryFailedMetrics(cache IgniteCache<String,Integer>, qry Query) : void extracted from public testSqlFieldsQueryFailedMetrics() : void in class org.apache.ignite.internal.processors.cache.CacheAbstractQueryMetricsSelfTest | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type maxTime : long to maxTime : GridAtomicLong in class org.apache.ignite.internal.processors.cache.query.GridCacheQueryMetricsAdapter | From | To | |
Change Attribute Type execs : int to execs : LongAdder8 in class org.apache.ignite.internal.processors.cache.query.GridCacheQueryMetricsAdapter | From | To | |
Change Attribute Type fails : int to fails : LongAdder8 in class org.apache.ignite.internal.processors.cache.query.GridCacheQueryMetricsAdapter | From | To | |
Change Attribute Type minTime : long to minTime : GridAtomicLong in class org.apache.ignite.internal.processors.cache.query.GridCacheQueryMetricsAdapter | From | To |