public class DiagnosticProcessor extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeType| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TARGET_FOLDER
Folder name for store diagnostic info.
|
static boolean |
DFLT_DUMP_PAGE_LOCK_ON_FAILURE |
ctx, diagnosticLog, log| Constructor and Description |
|---|
DiagnosticProcessor(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
corruptedPagesFile(Path dirPath,
FileIOFactory ioFactory,
T2<Integer,Long>... pages)
Creation and filling of a file with pages that can be corrupted.
|
void |
onFailure(FailureContext failureCtx)
Print diagnostic info about failure occurred on
ignite instance. |
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, toString, validateNode, validateNodepublic static final boolean DFLT_DUMP_PAGE_LOCK_ON_FAILURE
public static final String DEFAULT_TARGET_FOLDER
public DiagnosticProcessor(GridKernalContext ctx) throws IgniteCheckedException
ctx - Kernal context.IgniteCheckedExceptionpublic void onFailure(FailureContext failureCtx)
ignite instance.
Failure details is contained in failureCtx.failureCtx - Failure context.public static File corruptedPagesFile(Path dirPath, FileIOFactory ioFactory, T2<Integer,Long>... pages) throws IOException
dirPath - Path to the directory where the file will be created.ioFactory - File I/O factory.pages - Pages that could be corrupted. Mapping: cache group id -> page id.IOException - If an I/O error occurs.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021