Index
All Classes and Interfaces|All Packages
A
- ActualSDNotify - Class in de.afoo.sdnotify
-
This implementation of
SDNotifyactually tries to talk to systemd. - ActualSDNotify() - Constructor for class de.afoo.sdnotify.ActualSDNotify
B
- busError(String) - Method in class de.afoo.sdnotify.ActualSDNotify
- busError(String) - Method in class de.afoo.sdnotify.NOOPSDNotify
- busError(String) - Method in interface de.afoo.sdnotify.SDNotify
-
Notify systemd that a D-Bus error has occurred.
C
D
- de.afoo.sdnotify - package de.afoo.sdnotify
-
A simple interface to sd_notify from Java.
E
- errno(int) - Method in class de.afoo.sdnotify.ActualSDNotify
- errno(int) - Method in class de.afoo.sdnotify.NOOPSDNotify
- errno(int) - Method in interface de.afoo.sdnotify.SDNotify
-
Notify systemd that an error has occurred.
- exists() - Static method in class de.afoo.sdnotify.SDNotifySocketFile
-
Check if the UNIX socket to communicate with systemd exists.
- extendTimeout(Duration) - Method in class de.afoo.sdnotify.ActualSDNotify
- extendTimeout(Duration) - Method in class de.afoo.sdnotify.NOOPSDNotify
- extendTimeout(Duration) - Method in interface de.afoo.sdnotify.SDNotify
-
Tells the service manager to extend the startup, runtime or shutdown service timeout corresponding the current state.
G
- get() - Static method in class de.afoo.sdnotify.SDNotifySocketFile
-
Returns null if the NOTIFY_SOCKET environment variable is not set (which should mean we are not running under systemd in most cases)
M
- mainPid(int) - Method in class de.afoo.sdnotify.ActualSDNotify
- mainPid(int) - Method in class de.afoo.sdnotify.NOOPSDNotify
- mainPid(int) - Method in interface de.afoo.sdnotify.SDNotify
-
Inform systemd of the main pid of the service.
N
- NOOPSDNotify - Class in de.afoo.sdnotify
-
NOOP Implementation of the SDNotify interface to be used when we are not running under systemd.
- NOOPSDNotify() - Constructor for class de.afoo.sdnotify.NOOPSDNotify
R
- ready() - Method in class de.afoo.sdnotify.ActualSDNotify
- ready() - Method in class de.afoo.sdnotify.NOOPSDNotify
- ready() - Method in interface de.afoo.sdnotify.SDNotify
-
Notify systemd that the service has started successfully.
- reloading() - Method in class de.afoo.sdnotify.ActualSDNotify
- reloading() - Method in class de.afoo.sdnotify.NOOPSDNotify
- reloading() - Method in interface de.afoo.sdnotify.SDNotify
-
Notify systemd that the service is currently reloading.
S
- SDNotify - Interface in de.afoo.sdnotify
-
Send Notifications to systemd.
- SDNotifySocketFile - Class in de.afoo.sdnotify
-
Thin abstraction around the UNIX socket file systemd stores in the NOTIFY_SOCKET environment variable of processes it starts.
- status(String) - Method in class de.afoo.sdnotify.ActualSDNotify
- status(String) - Method in class de.afoo.sdnotify.NOOPSDNotify
- status(String) - Method in interface de.afoo.sdnotify.SDNotify
-
Send a free form status message to systemd.
- stopping() - Method in class de.afoo.sdnotify.ActualSDNotify
- stopping() - Method in class de.afoo.sdnotify.NOOPSDNotify
- stopping() - Method in interface de.afoo.sdnotify.SDNotify
-
Notify systemd that the service is stopping.
W
- watchdog() - Method in class de.afoo.sdnotify.ActualSDNotify
- watchdog() - Method in class de.afoo.sdnotify.NOOPSDNotify
- watchdog() - Method in interface de.afoo.sdnotify.SDNotify
-
Update the watchdog timestamp for services with WatchDogSec enabled.
- watchdogTrigger() - Method in class de.afoo.sdnotify.ActualSDNotify
- watchdogTrigger() - Method in class de.afoo.sdnotify.NOOPSDNotify
- watchdogTrigger() - Method in interface de.afoo.sdnotify.SDNotify
-
An error that should be handled by the watchdog options occured.
All Classes and Interfaces|All Packages