Class IoStatisticsHolderQuery

  • All Implemented Interfaces:
    IoStatisticsHolder

    public class IoStatisticsHolderQuery
    extends Object
    implements IoStatisticsHolder
    Query Statistics holder to gather statistics related to concrete query. Used in org.apache.ignite.internal.stat.IoStatisticsHolderIndex and org.apache.ignite.internal.stat.IoStatisticsHolderCache. Query Statistics holder to gather statistics related to concrete query. Used in org.apache.ignite.internal.stat.IoStatisticsHolderIndex and org.apache.ignite.internal.stat.IoStatisticsHolderCache.
    • Constructor Detail

      • IoStatisticsHolderQuery

        public IoStatisticsHolderQuery()
    • Method Detail

      • trackLogicalRead

        public void trackLogicalRead​(long pageAddr)
        Track logical read of given page.
        Specified by:
        trackLogicalRead in interface IoStatisticsHolder
        Parameters:
        pageAddr - Address of page.
      • trackPhysicalAndLogicalRead

        public void trackPhysicalAndLogicalRead​(long pageAddr)
        Track physical and logical read of given page.
        Specified by:
        trackPhysicalAndLogicalRead in interface IoStatisticsHolder
        Parameters:
        pageAddr - start address of page.
      • merge

        public void merge​(long logicalReads,
                          long physicalReads)
        Add given given statistics into this. Merge query statistics.
        Parameters:
        logicalReads - Logical reads which will be added to current query statistics.
        physicalReads - Physical reads which will be added to current query statistics,