public class IgniteStatisticsManagerImpl extends Object implements IgniteStatisticsManager
| Constructor and Description |
|---|
IgniteStatisticsManagerImpl(GridKernalContext ctx,
SchemaManager schemaMgr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectStatistics(StatisticsObjectConfiguration... targets) |
void |
dropAll() |
void |
dropStatistics(StatisticsTarget... targets) |
void |
ensureActive(String op)
Check that cluster is active.
|
ObjectStatistics |
getLocalStatistics(StatisticsKey key) |
void |
onRowUpdated(String schemaName,
String objName,
int partId,
byte[] keyBytes) |
void |
processObsolescence()
Save dirty obsolescence info to local metastore.
|
void |
refreshStatistics(StatisticsTarget... targets) |
IgniteStatisticsConfigurationManager |
statisticConfiguration() |
IgniteStatisticsRepository |
statisticsRepository() |
void |
stop() |
StatisticsUsageState |
usageState() |
void |
usageState(StatisticsUsageState state) |
public IgniteStatisticsManagerImpl(GridKernalContext ctx, SchemaManager schemaMgr)
ctx - Kernal context.schemaMgr - Schema manager.public IgniteStatisticsRepository statisticsRepository()
public ObjectStatistics getLocalStatistics(StatisticsKey key)
getLocalStatistics in interface IgniteStatisticsManagerpublic void collectStatistics(StatisticsObjectConfiguration... targets) throws IgniteCheckedException
collectStatistics in interface IgniteStatisticsManagerIgniteCheckedExceptionpublic void dropStatistics(StatisticsTarget... targets) throws IgniteCheckedException
dropStatistics in interface IgniteStatisticsManagerIgniteCheckedExceptionpublic void refreshStatistics(StatisticsTarget... targets) throws IgniteCheckedException
refreshStatistics in interface IgniteStatisticsManagerIgniteCheckedExceptionpublic void dropAll()
dropAll in interface IgniteStatisticsManagerpublic void stop()
stop in interface IgniteStatisticsManagerpublic IgniteStatisticsConfigurationManager statisticConfiguration()
public void usageState(StatisticsUsageState state)
usageState in interface IgniteStatisticsManagerpublic StatisticsUsageState usageState()
usageState in interface IgniteStatisticsManagerpublic void onRowUpdated(String schemaName, String objName, int partId, byte[] keyBytes)
onRowUpdated in interface IgniteStatisticsManagerpublic void processObsolescence()
public void ensureActive(String op)
op - Operation name.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.29 Release Date : January 8 2026