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 Summary

    Modifier and Type Method Description
    default @NotNull String status()
    Exposes status information to send to systemd.
  • Method Details

    • status

      @NotNull default @NotNull String status()
      Exposes status information to send to systemd.
      Returns:
      the string message to add to the service status