Package | Description |
---|---|
io.druid.java.util.common.lifecycle |
Modifier and Type | Method and Description |
---|---|
void |
Lifecycle.addHandler(Lifecycle.Handler handler)
Adds a handler to the Lifecycle at the Stage.NORMAL stage.
|
void |
Lifecycle.addHandler(Lifecycle.Handler handler,
Lifecycle.Stage stage)
Adds a handler to the Lifecycle.
|
void |
Lifecycle.addMaybeStartHandler(Lifecycle.Handler handler)
Adds a handler to the Lifecycle at the Stage.NORMAL stage and starts it if the lifecycle has already been started.
|
void |
Lifecycle.addMaybeStartHandler(Lifecycle.Handler handler,
Lifecycle.Stage stage)
Adds a handler to the Lifecycle and starts it if the lifecycle has already been started.
|
Copyright © 2011–2017. All rights reserved.