Class GridJobMetricsProcessor
- java.lang.Object
-
- org.apache.ignite.internal.processors.GridProcessorAdapter
-
- org.apache.ignite.internal.processors.jobmetrics.GridJobMetricsProcessor
-
- All Implemented Interfaces:
GridComponent,GridProcessor
@Deprecated public class GridJobMetricsProcessor extends GridProcessorAdapter
Deprecated.Check theReadOnlyMetricRegistrywith "name=compute.jobs" instead.Processes job metrics.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.ignite.internal.GridComponent
GridComponent.DiscoveryDataExchangeType
-
-
Field Summary
Fields Modifier and Type Field Description static intDFLT_JOBS_METRICS_CONCURRENCY_LEVELDeprecated.-
Fields inherited from class org.apache.ignite.internal.processors.GridProcessorAdapter
ctx, diagnosticLog, log
-
-
Constructor Summary
Constructors Constructor Description GridJobMetricsProcessor(GridKernalContext ctx)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddSnapshot(GridJobMetricsSnapshot metrics)Deprecated.GridJobMetricsgetJobMetrics()Deprecated.Gets latest metrics.voidprintMemoryStats()Deprecated.Prints memory statistics (sizes of internal structures, etc.).voidreset()Deprecated.Resets metrics.voidstart()Deprecated.Starts grid component.voidstop(boolean cancel)Deprecated.Stops grid component.-
Methods inherited from class org.apache.ignite.internal.processors.GridProcessorAdapter
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, toString, validateNode, validateNode
-
-
-
-
Constructor Detail
-
GridJobMetricsProcessor
public GridJobMetricsProcessor(GridKernalContext ctx)
Deprecated.- Parameters:
ctx- Grid kernal context.
-
-
Method Detail
-
reset
public void reset()
Deprecated.Resets metrics.
-
start
public void start() throws IgniteCheckedExceptionDeprecated.Starts grid component.- Specified by:
startin interfaceGridComponent- Overrides:
startin classGridProcessorAdapter- Throws:
IgniteCheckedException- Throws in case of any errors.
-
stop
public void stop(boolean cancel) throws IgniteCheckedExceptionDeprecated.Stops grid component.- Specified by:
stopin interfaceGridComponent- Overrides:
stopin classGridProcessorAdapter- Parameters:
cancel- Iftrue, then all ongoing tasks or jobs for relevant components need to be cancelled.- Throws:
IgniteCheckedException- Thrown in case of any errors.
-
getJobMetrics
public GridJobMetrics getJobMetrics()
Deprecated.Gets latest metrics.- Returns:
- Latest metrics.
-
addSnapshot
public void addSnapshot(GridJobMetricsSnapshot metrics)
Deprecated.- Parameters:
metrics- New metrics.
-
printMemoryStats
public void printMemoryStats()
Deprecated.Prints memory statistics (sizes of internal structures, etc.). NOTE: this method is for testing and profiling purposes only.- Specified by:
printMemoryStatsin interfaceGridComponent- Overrides:
printMemoryStatsin classGridProcessorAdapter
-
-