T - managed typepublic interface Managed<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Returns a boolean value indicating whether the managed object is running.
|
CompletableFuture<T> |
start()
Starts the managed object.
|
CompletableFuture<Void> |
stop()
Stops the managed object.
|
CompletableFuture<T> start()
boolean isRunning()
CompletableFuture<Void> stop()
Copyright © 2013–2018. All rights reserved.