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.
|
java.util.concurrent.CompletableFuture<T> |
start()
Starts the managed object.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
stop()
Stops the managed object.
|
java.util.concurrent.CompletableFuture<T> start()
boolean isRunning()
java.util.concurrent.CompletableFuture<java.lang.Void> stop()
Copyright © 2013-2019. All Rights Reserved.