public class IoStatisticsHolderQuery extends Object implements IoStatisticsHolder
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.| Modifier and Type | Field and Description |
|---|---|
static String |
LOGICAL_READS |
static String |
PHYSICAL_READS |
| Constructor and Description |
|---|
IoStatisticsHolderQuery() |
| Modifier and Type | Method and Description |
|---|---|
long |
logicalReads() |
void |
merge(long logicalReads,
long physicalReads)
Add given given statistics into this.
|
String |
metricRegistryName() |
long |
physicalReads() |
String |
toString() |
void |
trackLogicalRead(long pageAddr)
Track logical read of given page.
|
void |
trackPhysicalAndLogicalRead(long pageAddr)
Track physical and logical read of given page.
|
public static final String PHYSICAL_READS
public static final String LOGICAL_READS
public void trackLogicalRead(long pageAddr)
trackLogicalRead in interface IoStatisticsHolderpageAddr - Address of page.public void trackPhysicalAndLogicalRead(long pageAddr)
trackPhysicalAndLogicalRead in interface IoStatisticsHolderpageAddr - start address of page.public long logicalReads()
logicalReads in interface IoStatisticsHolderpublic long physicalReads()
physicalReads in interface IoStatisticsHolderpublic String metricRegistryName()
metricRegistryName in interface IoStatisticsHolderpublic void merge(long logicalReads,
long physicalReads)
logicalReads - Logical reads which will be added to current query statistics.physicalReads - Physical reads which will be added to current query statistics,
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023