public class IoStatisticsHolderIndex extends Object implements IoStatisticsHolder
Modifier and Type | Field and Description |
---|---|
static String |
HASH_PK_IDX_NAME
Display name of hash PK index.
|
static String |
LOGICAL_READS_INNER |
static String |
LOGICAL_READS_LEAF |
static String |
PHYSICAL_READS_INNER |
static String |
PHYSICAL_READS_LEAF |
Constructor and Description |
---|
IoStatisticsHolderIndex(IoStatisticsType type,
String grpName,
String idxName,
GridMetricManager mmgr) |
Modifier and Type | Method and Description |
---|---|
long |
logicalReads() |
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 HASH_PK_IDX_NAME
public static final String LOGICAL_READS_LEAF
public static final String LOGICAL_READS_INNER
public static final String PHYSICAL_READS_LEAF
public static final String PHYSICAL_READS_INNER
public IoStatisticsHolderIndex(IoStatisticsType type, String grpName, String idxName, GridMetricManager mmgr)
type
- Type of statistics.grpName
- Group name.idxName
- Index name.mmgr
- Metric manager.public void trackLogicalRead(long pageAddr)
trackLogicalRead
in interface IoStatisticsHolder
pageAddr
- Address of page.public void trackPhysicalAndLogicalRead(long pageAddr)
trackPhysicalAndLogicalRead
in interface IoStatisticsHolder
pageAddr
- start address of page.public long logicalReads()
logicalReads
in interface IoStatisticsHolder
public long physicalReads()
physicalReads
in interface IoStatisticsHolder
public String metricRegistryName()
metricRegistryName
in interface IoStatisticsHolder
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021