Package com.github.jpmsilva.jsystemd
Interface SystemdNotifyStatusProvider
- All Known Implementing Classes:
SystemdNotifyActuatorHealthProvider,SystemdNotifyApplicationContextStatusProvider,SystemdNotifyApplicationRunStatusProvider,SystemdNotifyClassLoaderStatusProvider,SystemdNotifyHeapStatusProvider,SystemdNotifyNonHeapStatusProvider,SystemdNotifyTomcatStatusProvider
public interface SystemdNotifyStatusProvider
Interface that represents any object that can contribute with status information regarding the running process to the service supervisor.
Status providers can be registered through Systemd.addStatusProviders(SystemdNotifyStatusProvider...)
- Author:
- Joao Silva
- See Also:
Systemd.addStatusProviders(SystemdNotifyStatusProvider...)
-
Method Details
-
status
Exposes status information to send to systemd.- Returns:
- the string message to add to the service status
-