public class DiagnosticProcessor extends GridProcessorAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
DiagnosticProcessor.DiagnosticAction
Possible action after WAL scanning.
|
static class |
DiagnosticProcessor.DiagnosticFileWriteMode
Mode of diagnostic dump file.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpPageHistory(PageHistoryDiagnoster.DiagnosticPageBuilder builder)
Dump all history caches of given page.
|
void |
onFailure(Ignite ignite,
FailureContext failureCtx)
Print diagnostic info about failure occurred on
ignite instance. |
void |
onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, 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 onKernalStart(boolean active)
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapteractive - Cluster active flag (note: should be used carefully since state can
change concurrently).IgniteCheckedException - Thrown in case of any errors.public void dumpPageHistory(@NotNull
PageHistoryDiagnoster.DiagnosticPageBuilder builder)
throws IgniteCheckedException
builder - Parameters of dumping.IgniteCheckedException - If scanning was failed.public void onFailure(Ignite ignite, FailureContext failureCtx)
ignite instance.
Failure details is contained in failureCtx.ignite - Ignite instance.failureCtx - Failure context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021