Class ComponentStarter


  • public class ComponentStarter
    extends java.lang.Object
    Utils to start components.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.concurrent.CompletableFuture<java.lang.Void> startComponent​(LifecycleComponent component)
      Start a component and register a shutdown hook.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComponentStarter

        public ComponentStarter()
    • Method Detail

      • startComponent

        public static java.util.concurrent.CompletableFuture<java.lang.Void> startComponent​(LifecycleComponent component)
        Start a component and register a shutdown hook.
        Parameters:
        component - component to start.