public class ComponentStarter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ComponentStarter.ComponentShutdownHook |
| Constructor and Description |
|---|
ComponentStarter() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.CompletableFuture<java.lang.Void> |
startComponent(LifecycleComponent component)
Start a component and register a shutdown hook.
|
public static java.util.concurrent.CompletableFuture<java.lang.Void> startComponent(LifecycleComponent component)
component - component to start.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.