Class OrthusExtensionManager

java.lang.Object
org.gridgain.internal.orthus.OrthusExtensionManager
All Implemented Interfaces:
org.apache.ignite.internal.lang.Debuggable, org.apache.ignite.internal.manager.IgniteComponent, org.apache.ignite.internal.systemview.api.SystemViewProvider

public class OrthusExtensionManager extends Object implements org.apache.ignite.internal.manager.IgniteComponent, org.apache.ignite.internal.systemview.api.SystemViewProvider
Orthus extension component that bootstraps Orthus-related infrastructure when the node is running in Orthus mode (MariaDB storage-engine integration).
  • Field Summary

    Fields inherited from interface org.apache.ignite.internal.lang.Debuggable

    INDENTATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    OrthusExtensionManager(org.apache.ignite.internal.configuration.SystemDistributedConfiguration systemProperties, org.apache.ignite.internal.systemview.api.SystemViewManager systemViewManager, org.apache.ignite.internal.catalog.CatalogManager catalogManager, Supplier<CompletableFuture<Set<String>>> metastorageNodesProvider)
    Creates the manager.
  • Method Summary

    Modifier and Type
    Method
    Description
    startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
     
    stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
     
    List<org.apache.ignite.internal.systemview.api.SystemView<?>>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.ignite.internal.lang.Debuggable

    dumpState

    Methods inherited from interface org.apache.ignite.internal.manager.IgniteComponent

    beforeNodeStop, stopAsync
  • Constructor Details

    • OrthusExtensionManager

      public OrthusExtensionManager(org.apache.ignite.internal.configuration.SystemDistributedConfiguration systemProperties, org.apache.ignite.internal.systemview.api.SystemViewManager systemViewManager, org.apache.ignite.internal.catalog.CatalogManager catalogManager, Supplier<CompletableFuture<Set<String>>> metastorageNodesProvider)
      Creates the manager.
      Parameters:
      systemProperties - Distributed system properties configuration; used to read the "isOrthus" flag.
      systemViewManager - System view manager used to register the COMPATIBILITY_CONFIGURATION view when Orthus mode is active.
      catalogManager - Catalog manager used to create the SQL statistics table when Orthus mode is active.
      metastorageNodesProvider - Supplier of the node names hosting the Meta Storage; used to size the statistics zone quorum.
  • Method Details

    • startAsync

      public CompletableFuture<Void> startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      startAsync in interface org.apache.ignite.internal.manager.IgniteComponent
    • stopAsync

      public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      stopAsync in interface org.apache.ignite.internal.manager.IgniteComponent
    • systemViews

      public List<org.apache.ignite.internal.systemview.api.SystemView<?>> systemViews()
      Specified by:
      systemViews in interface org.apache.ignite.internal.systemview.api.SystemViewProvider