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