Package one.nio.os.systemd
Class SystemdNotify
java.lang.Object
one.nio.os.systemd.SystemdNotify
Notify service manager about start-up completion and other service status changes
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voiderrno(int errno) static voidextendTimeoutUsec(int usec) static voidmainPid(int pid) static voidstatic voidready()static voidstatic voidstatic voidstopping()static voidwatchdog()static voidstatic voidwatchdogUsec(int usec)
-
Field Details
-
NOTIFY_SOCKET_ENV
- See Also:
-
READY
- See Also:
-
RELOADING
- See Also:
-
STOPPING
- See Also:
-
STATUS
- See Also:
-
ERRNO
- See Also:
-
BUSERROR
- See Also:
-
MAINPID
- See Also:
-
WATCHDOG
- See Also:
-
WATCHDOG_TRIGGER
- See Also:
-
WATCHDOG_USEC
- See Also:
-
EXTEND_TIMEOUT_USEC
- See Also:
-
-
Constructor Details
-
SystemdNotify
public SystemdNotify()
-
-
Method Details
-
notify
- Throws:
IOException
-
ready
- Throws:
IOException
-
reloading
- Throws:
IOException
-
stopping
- Throws:
IOException
-
status
- Throws:
IOException
-
errno
- Throws:
IOException
-
busError
- Throws:
IOException
-
mainPid
- Throws:
IOException
-
watchdog
- Throws:
IOException
-
watchdogTrigger
- Throws:
IOException
-
watchdogUsec
- Throws:
IOException
-
extendTimeoutUsec
- Throws:
IOException
-