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.
|
long |
getSqlFreeMemoryBytes()
Gets the amount of memory available for SQL queries.
|
String |
getSqlGlobalMemoryQuota()
Gets global query quota.
|
Long |
getSqlGlobalMemoryQuotaBytes()
Gets global query quota.
|
String |
getSqlQueryMemoryQuota()
Gets global query quota.
|
Long |
getSqlQueryMemoryQuotaBytes()
Gets global query quota.
|
boolean |
isSqlOffloadingEnabled()
Gets offloading flag.
|
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.
|
void |
setSqlGlobalMemoryQuota(String size)
Sets global query quota.
|
void |
setSqlOffloadingEnabled(boolean enabled)
Sets offloading flag.
|
void |
setSqlQueryMemoryQuota(String size)
Sets per-query memory quota.
|
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.public Long getSqlGlobalMemoryQuotaBytes()
getSqlGlobalMemoryQuotaBytes in interface SqlQueryMXBeanpublic String getSqlGlobalMemoryQuota()
getSqlGlobalMemoryQuota in interface SqlQueryMXBeanpublic void setSqlGlobalMemoryQuota(String size)
setSqlGlobalMemoryQuota in interface SqlQueryMXBeansize - Size of global memory pool for SQL queries.public long getSqlFreeMemoryBytes()
SqlQueryMXBean.getSqlGlobalMemoryQuotaBytes() minus the amount of memory currently occupied by the queries.getSqlFreeMemoryBytes in interface SqlQueryMXBeanpublic Long getSqlQueryMemoryQuotaBytes()
getSqlQueryMemoryQuotaBytes in interface SqlQueryMXBeanpublic String getSqlQueryMemoryQuota()
getSqlQueryMemoryQuota in interface SqlQueryMXBeanpublic void setSqlQueryMemoryQuota(String size)
setSqlQueryMemoryQuota in interface SqlQueryMXBeansize - Size of per-query memory quota in bytes, kilobytes, megabytes, or percentage of the max heap.public boolean isSqlOffloadingEnabled()
isSqlOffloadingEnabled in interface SqlQueryMXBeanpublic void setSqlOffloadingEnabled(boolean enabled)
setSqlOffloadingEnabled in interface SqlQueryMXBeanenabled - The value whether offloading flag is enabled.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025