public interface LifecycleService
Modifier and Type | Method and Description |
---|---|
State |
getState()
Get the state of the lifecycle
|
long |
getUpTime()
Get the time that the service has been up for
|
boolean |
isStarted()
Whether the application is started
|
void |
start()
Start the application
|
void |
stop()
Stop the application
|
void start()
void stop()
boolean isStarted()
State getState()
long getUpTime()
Copyright © 2019 ninjaframework. All rights reserved.