public class SqlQueryMXBeanImpl extends Object implements SqlQueryMXBean
| Constructor and Description |
|---|
SqlQueryMXBeanImpl(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLongQueryTimeoutMultiplier() |
long |
getLongQueryWarningTimeout() |
long |
getResultSetSizeThreshold() |
int |
getResultSetSizeThresholdMultiplier()
Gets result set size threshold multiplier.
|
void |
setLongQueryTimeoutMultiplier(int longQryTimeoutMultiplier)
Sets long query timeout multiplier.
|
void |
setLongQueryWarningTimeout(long longQryWarningTimeout)
Sets timeout in milliseconds after which long query warning will be printed.
|
void |
setResultSetSizeThreshold(long rsSizeThreshold)
Sets threshold result's row count, when count of fetched rows is bigger than the threshold
warning will be printed.
|
void |
setResultSetSizeThresholdMultiplier(int rsSizeThresholdMultiplier)
Sets result set size threshold multiplier.
|
public SqlQueryMXBeanImpl(GridKernalContext ctx)
ctx - Context.public long getLongQueryWarningTimeout()
getLongQueryWarningTimeout in interface SqlQueryMXBeanpublic void setLongQueryWarningTimeout(long longQryWarningTimeout)
setLongQueryWarningTimeout in interface SqlQueryMXBeanlongQryWarningTimeout - Timeout in milliseconds after which long query warning will be printed.public int getLongQueryTimeoutMultiplier()
getLongQueryTimeoutMultiplier in interface SqlQueryMXBeanpublic void setLongQueryTimeoutMultiplier(int longQryTimeoutMultiplier)
setLongQueryTimeoutMultiplier in interface SqlQueryMXBeanlongQryTimeoutMultiplier - Long query timeout multiplier.public long getResultSetSizeThreshold()
getResultSetSizeThreshold in interface SqlQueryMXBeanpublic void setResultSetSizeThreshold(long rsSizeThreshold)
setResultSetSizeThreshold in interface SqlQueryMXBeanrsSizeThreshold - Threshold result's row count, when count of fetched rows is bigger than the threshold
warning will be printed.public int getResultSetSizeThresholdMultiplier()
getResultSetSizeThresholdMultiplier in interface SqlQueryMXBeanpublic void setResultSetSizeThresholdMultiplier(int rsSizeThresholdMultiplier)
setResultSetSizeThresholdMultiplier in interface SqlQueryMXBeanrsSizeThresholdMultiplier - Result set size threshold multiplier.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023