public static class DaemonLoader.Controller extends Object implements DaemonController
| Modifier and Type | Method and Description |
|---|---|
void |
fail()
Shuts down daemon and logs failed message.
|
void |
fail(Exception exception)
Shuts down daemon and logs failed message.
|
void |
fail(String message)
Shuts down daemon and logs failed message.
|
void |
fail(String message,
Exception exception)
Shuts down daemon and logs failed message.
|
void |
reload()
Reloads daemon
|
void |
shutdown()
Shuts down the daemon.
|
public void shutdown()
throws IllegalStateException
DaemonControllershutdown in interface DaemonControllerIllegalStateException - If the daemon is not in a valid state to be
shutdownpublic void reload()
throws IllegalStateException
DaemonControllerreload in interface DaemonControllerIllegalStateException - If the daemon is not in a valid state to be
reloadedpublic void fail()
DaemonControllerfail in interface DaemonControllerpublic void fail(String message)
DaemonControllerfail in interface DaemonControllermessage - The message to logpublic void fail(Exception exception)
DaemonControllerfail in interface DaemonControllerexception - The exception to logpublic void fail(String message, Exception exception)
DaemonControllerfail in interface DaemonControllermessage - The message to logexception - The exception to logCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.