public interface DaemonController
| 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.
|
void shutdown()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - If the daemon is not in a valid state to be
shutdownvoid reload()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - If the daemon is not in a valid state to be
reloadedvoid fail() throws java.lang.IllegalStateException
java.lang.IllegalStateException - If the daemon is not in a valid state to be
shutdownvoid fail(java.lang.String message) throws java.lang.IllegalStateException
message - The message to logjava.lang.IllegalStateException - If the daemon is not in a valid state to be
shutdownvoid fail(java.lang.Exception exception) throws java.lang.IllegalStateException
exception - The exception to logjava.lang.IllegalStateException - If the daemon is not in a valid state to be
shutdownvoid fail(java.lang.String message,
java.lang.Exception exception)
throws java.lang.IllegalStateException
message - The message to logexception - The exception to logjava.lang.IllegalStateException - If the daemon is not in a valid state to be
shutdown