public interface IgniteStatisticsManager
| Modifier and Type | Method and Description |
|---|---|
void |
collectStatistics(StatisticsObjectConfiguration... targets)
Gather object statistics.
|
void |
dropAll()
Drop all statistics.
|
void |
dropStatistics(StatisticsTarget... targets)
Clear object statistics.
|
ObjectStatistics |
getGlobalStatistics(StatisticsKey key)
Get global statistics by object.
|
ObjectStatistics |
getLocalStatistics(StatisticsKey key)
Get local statistics by object.
|
void |
onRowUpdated(String schemaName,
String objName,
int partId,
byte[] keyBytes)
To track statistics invalidation.
|
void |
refreshStatistics(StatisticsTarget... targets)
Refresh object statistics.
|
void |
stop()
Stop statistic manager.
|
StatisticsUsageState |
usageState() |
void |
usageState(StatisticsUsageState state)
Set statistics usage state.
|
void collectStatistics(StatisticsObjectConfiguration... targets) throws IgniteCheckedException
targets - Target to params map to gather statistics by.IgniteCheckedException - Throws in case of errors.void dropStatistics(StatisticsTarget... targets) throws IgniteCheckedException
targets - Collection of target to collect statistics by (schema, obj, columns).IgniteCheckedException - In case of errors (for example: unsupported feature)void refreshStatistics(StatisticsTarget... targets) throws IgniteCheckedException
targets - Target to refresh statistics by.IgniteCheckedException - Throws in case of errors.void dropAll()
throws IgniteCheckedException
IgniteCheckedExceptionObjectStatistics getLocalStatistics(StatisticsKey key)
key - Statistic key.null if there are no available statistics by specified object.ObjectStatistics getGlobalStatistics(StatisticsKey key)
key - Statistic key.null if there are no available global statistics by specified object.void stop()
void usageState(StatisticsUsageState state) throws IgniteCheckedException
state - Statistics state.IgniteCheckedExceptionStatisticsUsageState usageState()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023