| Package | Description |
|---|---|
| org.apache.bookkeeper.common.component |
Component and lifecycle management.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLifecycleComponent<ConfT extends ComponentConfiguration>
A mix of
AbstractComponent and LifecycleComponent. |
class |
AutoCloseableLifecycleComponent
Allows for AutoClosable resources to be added to the component
lifecycle without having to implement ServerLifecycleComponent directly.
|
class |
LifecycleComponentStack
A stack of
LifecycleComponents. |
class |
RxSchedulerLifecycleComponent
The scheduler for rxjava based jobs, such as data integrity checking.
|
| Modifier and Type | Method and Description |
|---|---|
LifecycleComponent |
LifecycleComponentStack.getComponent(int index) |
| Modifier and Type | Method and Description |
|---|---|
LifecycleComponentStack.Builder |
LifecycleComponentStack.Builder.addComponent(LifecycleComponent component) |
static java.util.concurrent.CompletableFuture<java.lang.Void> |
ComponentStarter.startComponent(LifecycleComponent component)
Start a component and register a shutdown hook.
|
| Constructor and Description |
|---|
ComponentShutdownHook(LifecycleComponent component,
java.util.concurrent.CompletableFuture<java.lang.Void> future) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.