public static class DaemonLoader.Controller extends java.lang.Object implements DaemonController
DaemonLoader state.| Modifier and Type | Method and Description |
|---|---|
void |
fail()
Shuts down daemon and logs failed message.
|
void |
fail(java.lang.Exception exception)
Shuts down daemon and logs failed message.
|
void |
fail(java.lang.String message)
Shuts down daemon and logs failed message.
|
void |
fail(java.lang.String message,
java.lang.Exception exception)
Shuts down daemon and logs failed message.
|
void |
reload()
Reloads daemon
|
void |
shutdown()
Shuts down the daemon.
|
public void shutdown()
throws java.lang.IllegalStateException
DaemonControllershutdown in interface DaemonControllerjava.lang.IllegalStateException - If the daemon is not in a valid state to be
shutdownpublic void reload()
throws java.lang.IllegalStateException
DaemonControllerreload in interface DaemonControllerjava.lang.IllegalStateException - If the daemon is not in a valid state to be
reloadedpublic void fail()
DaemonControllerfail in interface DaemonControllerpublic void fail(java.lang.String message)
DaemonControllerfail in interface DaemonControllermessage - The message to logpublic void fail(java.lang.Exception exception)
DaemonControllerfail in interface DaemonControllerexception - The exception to logpublic void fail(java.lang.String message,
java.lang.Exception exception)
DaemonControllerfail in interface DaemonControllermessage - The message to logexception - The exception to log