GridMetricManager
instead.@Deprecated public class GridJobMetricsProcessor extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeType
Modifier and Type | Field and Description |
---|---|
static int |
DFLT_JOBS_METRICS_CONCURRENCY_LEVEL
Deprecated.
|
ctx, diagnosticLog, log
Constructor and Description |
---|
GridJobMetricsProcessor(GridKernalContext ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addSnapshot(GridJobMetricsSnapshot metrics)
Deprecated.
|
GridJobMetrics |
getJobMetrics()
Deprecated.
Gets latest metrics.
|
void |
printMemoryStats()
Deprecated.
Prints memory statistics (sizes of internal structures, etc.).
|
void |
reset()
Deprecated.
Resets metrics.
|
void |
start()
Deprecated.
Starts grid component.
|
void |
stop(boolean cancel)
Deprecated.
Stops grid component.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, toString, validateNode, validateNode
public static final int DFLT_JOBS_METRICS_CONCURRENCY_LEVEL
public GridJobMetricsProcessor(GridKernalContext ctx)
ctx
- Grid kernal context.public void reset()
public void start() throws IgniteCheckedException
start
in interface GridComponent
start
in class GridProcessorAdapter
IgniteCheckedException
- Throws in case of any errors.public void stop(boolean cancel) throws IgniteCheckedException
stop
in interface GridComponent
stop
in class GridProcessorAdapter
cancel
- If true
, then all ongoing tasks or jobs for relevant
components need to be cancelled.IgniteCheckedException
- Thrown in case of any errors.public GridJobMetrics getJobMetrics()
public void addSnapshot(GridJobMetricsSnapshot metrics)
metrics
- New metrics.public void printMemoryStats()
printMemoryStats
in interface GridComponent
printMemoryStats
in class GridProcessorAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021