Class IoStatisticsQueryHelper
- java.lang.Object
-
- org.apache.ignite.internal.metric.IoStatisticsQueryHelper
-
public class IoStatisticsQueryHelper extends Object
Helper for gathering IO statistics.
-
-
Constructor Summary
Constructors Constructor Description IoStatisticsQueryHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IoStatisticsHolderfinishGatheringQueryStatistics()Finish gathering IO statistics for query.static voidmergeQueryStatistics(IoStatisticsHolderQuery qryStat)Merge query statistics.static voidstartGatheringQueryStatistics()Start gathering IO statistics for query.
-
-
-
Method Detail
-
startGatheringQueryStatistics
public static void startGatheringQueryStatistics()
Start gathering IO statistics for query. Should be used together withfinishGatheringQueryStatisticsmethod.
-
mergeQueryStatistics
public static void mergeQueryStatistics(IoStatisticsHolderQuery qryStat)
Merge query statistics.- Parameters:
qryStat- Statistics which will be merged to current query statistics.
-
finishGatheringQueryStatistics
public static IoStatisticsHolder finishGatheringQueryStatistics()
Finish gathering IO statistics for query. Should be used together withstartGatheringQueryStatisticsmethod.- Returns:
- Gathered statistics.
-
-