public class SystemdNotify extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BUSERROR |
static String |
ERRNO |
static String |
EXTEND_TIMEOUT_USEC |
static String |
MAINPID |
static String |
NOTIFY_SOCKET_ENV |
static String |
READY |
static String |
RELOADING |
static String |
STATUS |
static String |
STOPPING |
static String |
WATCHDOG |
static String |
WATCHDOG_TRIGGER |
static String |
WATCHDOG_USEC |
| Constructor and Description |
|---|
SystemdNotify() |
| Modifier and Type | Method and Description |
|---|---|
static void |
busError(String error) |
static void |
errno(int errno) |
static void |
extendTimeoutUsec(int usec) |
static void |
mainPid(int pid) |
static void |
notify(String state) |
static void |
ready() |
static void |
reloading() |
static void |
status(String text) |
static void |
stopping() |
static void |
watchdog() |
static void |
watchdogTrigger() |
static void |
watchdogUsec(int usec) |
public static final String NOTIFY_SOCKET_ENV
public static final String READY
public static final String RELOADING
public static final String STOPPING
public static final String STATUS
public static final String ERRNO
public static final String BUSERROR
public static final String MAINPID
public static final String WATCHDOG
public static final String WATCHDOG_TRIGGER
public static final String WATCHDOG_USEC
public static final String EXTEND_TIMEOUT_USEC
public static void notify(String state) throws IOException
IOExceptionpublic static void ready()
throws IOException
IOExceptionpublic static void reloading()
throws IOException
IOExceptionpublic static void stopping()
throws IOException
IOExceptionpublic static void status(String text) throws IOException
IOExceptionpublic static void errno(int errno)
throws IOException
IOExceptionpublic static void busError(String error) throws IOException
IOExceptionpublic static void mainPid(int pid)
throws IOException
IOExceptionpublic static void watchdog()
throws IOException
IOExceptionpublic static void watchdogTrigger()
throws IOException
IOExceptionpublic static void watchdogUsec(int usec)
throws IOException
IOExceptionpublic static void extendTimeoutUsec(int usec)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.