Interface SystemdStatusProvider

All Known Implementing Classes:
SystemdActuatorHealthProvider, SystemdApplicationContextStatusProvider, SystemdApplicationRunStatusProvider, SystemdClassLoaderStatusProvider, SystemdHeapStatusProvider, SystemdNonHeapStatusProvider, SystemdTomcatStatusProvider

public interface SystemdStatusProvider
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(SystemdStatusProvider...)

Author:
Joao Silva
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull String
    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