IoTDB/Code Summary.md

2.4 KiB

Code Summary Information

The summary file provides a simple way to navigate through the source code to understand the architecture of the application. It follows the below principles:

  • Word highlighted in bold are java class files within the source code
  • The relative path of these java class files can be found in the attached csv file
  • Word highlighted in both bold and italic are standard java class files

IoTDB

The entry point for the server is IoTDB. It performs following tasks during the setup

  • It calls StartupChecks and performs the following check

    • Checks JDK Version if it is greater than 8
    • Checks JMX Port Next, it performs following activities and registers the essential services:
  • Adds IoTDBShutdownHook to the Runtime

  • Adds new instance of IoTDBDefaultThreadExceptionHandler into Thread

  • Uses RegisterManager to register following services

    • JMXService
    • FlushManager
    • MultiFileLogNodeManager
    • Monitor
    • StatMonitor
    • Measurement
    • ManageDynamicParameters
    • TVListAllocator
    • CacheHitRatioMonitor
    • StorageEngine
    • RPCService
    • MetricsService
    • MQTTService
    • SyncServerManager
    • UpgradeSevice
    • MergeManager
    • HotCompactionMergeTaskPoolManager

IoTDB Cli

The entry point for the IoTDB Cli is Cli.