Package org.gridgain.internal.orthus
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
ConstructorsConstructorDescriptionOrthusExtensionManager(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 TypeMethodDescriptionstartAsync(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, waitMethods inherited from interface org.apache.ignite.internal.lang.Debuggable
dumpStateMethods 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 theCOMPATIBILITY_CONFIGURATIONview 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:
startAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
stopAsync
public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
stopAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
systemViews
- Specified by:
systemViewsin interfaceorg.apache.ignite.internal.systemview.api.SystemViewProvider
-