test_class.declarator: CACHE_NAME = "cache0"
test_class.modifier: private static final
test_class.original_string: private static final String CACHE_NAME = "cache0";
test_class.type: String
test_class.var_name: CACHE_NAME
test_class.declarator: TEST_DUMP_PAGE_FILE = "testDumpPage"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_DUMP_PAGE_FILE = "testDumpPage";
test_class.type: String
test_class.var_name: TEST_DUMP_PAGE_FILE
test_class.declarator: diagnosticProcessor
test_class.modifier: private static
test_class.original_string: private static DiagnosticProcessor diagnosticProcessor;
test_class.type: DiagnosticProcessor
test_class.var_name: diagnosticProcessor
test_class.declarator: expectedPageId
test_class.modifier: private static
test_class.original_string: private static T2<Integer, Long> expectedPageId;
test_class.type: T2<Integer, Long>
test_class.var_name: expectedPageId
test_class.file: modules/core/src/test/java/org/apache/ignite/internal/processors/diagnostic/DiagnosticProcessorTest.java
test_class.identifier: DiagnosticProcessorTest
test_class.superclass: extends GridCommonAbstractTest
test_case.body: @Test
      public void dumpRawPageHistoryToDefaultDir() throws Exception {
          diagnosticProcessor.dumpPageHistory(new PageHistoryDiagnoster.DiagnosticPageBuilder()
              .pageIds(expectedPageId)
              .addAction(PRINT_TO_RAW_FILE)
          );
  
          Path path = Paths.get(U.defaultWorkDirectory(), DEFAULT_TARGET_FOLDER);
          File dumpFile = path.toFile().listFiles((dir, name) -> name.endsWith(RAW_FILE_FORMAT))[0];
  
          try (SegmentIO io = new SegmentIO(0L, new RandomAccessFileIO(dumpFile, StandardOpenOption.READ))) {
              SegmentHeader hdr = RecordV1Serializer.readSegmentHeader(io, new SimpleSegmentFileInputFactory());
  
              assertFalse(hdr.isCompacted());
  
              assertEquals(RecordSerializerFactory.LATEST_SERIALIZER_VERSION, hdr.getSerializerVersion());
          }
      }
test_case.class_method_signature: DiagnosticProcessorTest.dumpRawPageHistoryToDefaultDir()
test_case.full_signature: @Test public void dumpRawPageHistoryToDefaultDir()
test_case.identifier: dumpRawPageHistoryToDefaultDir
test_case.invocations: dumpPageHistory addAction pageIds get defaultWorkDirectory listFiles toFile endsWith readSegmentHeader assertFalse isCompacted assertEquals getSerializerVersion
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void dumpRawPageHistoryToDefaultDir()
focal_class.declarator: IGNITE_DUMP_PAGE_LOCK_ON_FAILURE =
          IgniteSystemProperties.getBoolean(IgniteSystemProperties.IGNITE_DUMP_PAGE_LOCK_ON_FAILURE, true)
focal_class.modifier: private static final
focal_class.original_string: private static final boolean IGNITE_DUMP_PAGE_LOCK_ON_FAILURE =
          IgniteSystemProperties.getBoolean(IgniteSystemProperties.IGNITE_DUMP_PAGE_LOCK_ON_FAILURE, true);
focal_class.type: boolean
focal_class.var_name: IGNITE_DUMP_PAGE_LOCK_ON_FAILURE
focal_class.declarator: TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH-mm-ss_SSS")
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH-mm-ss_SSS");
focal_class.type: DateTimeFormatter
focal_class.var_name: TIME_FORMATTER
focal_class.declarator: DEFAULT_TARGET_FOLDER = "diagnostic"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_TARGET_FOLDER = "diagnostic";
focal_class.type: String
focal_class.var_name: DEFAULT_TARGET_FOLDER
focal_class.declarator: FILE_FORMAT = ".txt"
focal_class.modifier: static final
focal_class.original_string: static final String FILE_FORMAT = ".txt";
focal_class.type: String
focal_class.var_name: FILE_FORMAT
focal_class.declarator: RAW_FILE_FORMAT = ".raw"
focal_class.modifier: static final
focal_class.original_string: static final String RAW_FILE_FORMAT = ".raw";
focal_class.type: String
focal_class.var_name: RAW_FILE_FORMAT
focal_class.declarator: diagnosticPath
focal_class.modifier: private final
focal_class.original_string: private final Path diagnosticPath;
focal_class.type: Path
focal_class.var_name: diagnosticPath
focal_class.declarator: pageHistoryDiagnoster
focal_class.modifier: private final
focal_class.original_string: private final PageHistoryDiagnoster pageHistoryDiagnoster;
focal_class.type: PageHistoryDiagnoster
focal_class.var_name: pageHistoryDiagnoster
focal_class.declarator: reconciliationExecutionContext
focal_class.modifier: private final
focal_class.original_string: private final ReconciliationExecutionContext reconciliationExecutionContext;
focal_class.type: ReconciliationExecutionContext
focal_class.var_name: reconciliationExecutionContext
focal_class.file: modules/core/src/main/java/org/apache/ignite/internal/processors/diagnostic/DiagnosticProcessor.java
focal_class.identifier: DiagnosticProcessor
focal_class.class_method_signature: DiagnosticProcessor.DiagnosticProcessor(GridKernalContext ctx)
focal_class.full_signature: public  DiagnosticProcessor(GridKernalContext ctx)
focal_class.identifier: DiagnosticProcessor
focal_class.modifiers: public
focal_class.parameters: (GridKernalContext ctx)
focal_class.signature:  DiagnosticProcessor(GridKernalContext ctx)
focal_class.class_method_signature: DiagnosticProcessor.onKernalStart(boolean active)
focal_class.full_signature: @Override public void onKernalStart(boolean active)
focal_class.identifier: onKernalStart
focal_class.modifiers: @Override public
focal_class.parameters: (boolean active)
focal_class.return: void
focal_class.signature: void onKernalStart(boolean active)
focal_class.class_method_signature: DiagnosticProcessor.dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_class.full_signature: public void dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_class.identifier: dumpPageHistory
focal_class.modifiers: public
focal_class.parameters: (
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_class.return: void
focal_class.signature: void dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_class.class_method_signature: DiagnosticProcessor.onFailure(Ignite ignite, FailureContext failureCtx)
focal_class.full_signature: public void onFailure(Ignite ignite, FailureContext failureCtx)
focal_class.identifier: onFailure
focal_class.modifiers: public
focal_class.parameters: (Ignite ignite, FailureContext failureCtx)
focal_class.return: void
focal_class.signature: void onFailure(Ignite ignite, FailureContext failureCtx)
focal_class.class_method_signature: DiagnosticProcessor.reconciliationExecutionContext()
focal_class.full_signature: public ReconciliationExecutionContext reconciliationExecutionContext()
focal_class.identifier: reconciliationExecutionContext
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ReconciliationExecutionContext
focal_class.signature: ReconciliationExecutionContext reconciliationExecutionContext()
focal_class.class_method_signature: DiagnosticProcessor.diagnosticFile(File customFile, DiagnosticFileWriteMode writeMode)
focal_class.full_signature: private File diagnosticFile(File customFile, DiagnosticFileWriteMode writeMode)
focal_class.identifier: diagnosticFile
focal_class.modifiers: private
focal_class.parameters: (File customFile, DiagnosticFileWriteMode writeMode)
focal_class.return: File
focal_class.signature: File diagnosticFile(File customFile, DiagnosticFileWriteMode writeMode)
focal_class.class_method_signature: DiagnosticProcessor.finalizeFile(Path diagnosticPath, DiagnosticFileWriteMode writeMode)
focal_class.full_signature: private static File finalizeFile(Path diagnosticPath, DiagnosticFileWriteMode writeMode)
focal_class.identifier: finalizeFile
focal_class.modifiers: private static
focal_class.parameters: (Path diagnosticPath, DiagnosticFileWriteMode writeMode)
focal_class.return: File
focal_class.signature: File finalizeFile(Path diagnosticPath, DiagnosticFileWriteMode writeMode)
focal_class.class_method_signature: DiagnosticProcessor.getFileExtension(DiagnosticFileWriteMode writeMode)
focal_class.full_signature: private static String getFileExtension(DiagnosticFileWriteMode writeMode)
focal_class.identifier: getFileExtension
focal_class.modifiers: private static
focal_class.parameters: (DiagnosticFileWriteMode writeMode)
focal_class.return: String
focal_class.signature: String getFileExtension(DiagnosticFileWriteMode writeMode)
focal_class.superclass: extends GridProcessorAdapter
focal_method.body: public void dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      ) throws IgniteCheckedException {
          logTime(log, "DiagnosticPageHistory", () -> pageHistoryDiagnoster.dumpPageHistory(builder));
      }
focal_method.class_method_signature: DiagnosticProcessor.dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_method.full_signature: public void dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_method.identifier: dumpPageHistory
focal_method.invocations: logTime dumpPageHistory
focal_method.modifiers: public
focal_method.parameters: (
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )
focal_method.return: void
focal_method.signature: void dumpPageHistory(
          @NotNull PageHistoryDiagnoster.DiagnosticPageBuilder builder
      )