Class HealthRuntimeService
java.lang.Object
com.kingsrook.qqq.middleware.javalin.health.HealthRuntimeService
- All Implemented Interfaces:
QRuntimeServiceInterface
Own the health runner for the lifetime of its server or application launcher.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.instances.QRuntimeServiceInterface
afterApplicationStop
-
Constructor Details
-
HealthRuntimeService
public HealthRuntimeService()
-
-
Method Details
-
getName
Runtime identity.- Specified by:
getNamein interfaceQRuntimeServiceInterface
-
start
Start once; another launcher may already own this instance's runner.- Specified by:
startin interfaceQRuntimeServiceInterface- Throws:
QException
-
stop
public void stop()Stop only the runner this service started.- Specified by:
stopin interfaceQRuntimeServiceInterface
-