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
DaemonController
shutdown
in interface DaemonController
IllegalStateException
- If the daemon is not in a valid state to be
shutdownpublic void reload() throws IllegalStateException
DaemonController
reload
in interface DaemonController
IllegalStateException
- If the daemon is not in a valid state to be
reloadedpublic void fail()
DaemonController
fail
in interface DaemonController
public void fail(String message)
DaemonController
fail
in interface DaemonController
message
- The message to logpublic void fail(Exception exception)
DaemonController
fail
in interface DaemonController
exception
- The exception to logpublic void fail(String message, Exception exception)
DaemonController
fail
in interface DaemonController
message
- The message to logexception
- The exception to logCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.