public interface StartupCheck
Modifier and Type | Method and Description |
---|---|
void |
execute(StartupChecksOptions startupChecksOptions)
Run some test to determine whether the system is safe to be started
In the case where a test determines it is not safe to proceed, the
test should log a message regarding the reason for the failure and
ideally the steps required to remedy the problem.
|
default StartupChecks.StartupCheckType |
getStartupCheckType() |
default void |
postAction(StartupChecksOptions options)
Post-hook after all startup checks succeeded.
|
void execute(StartupChecksOptions startupChecksOptions) throws StartupException
startupChecksOptions
- all options from descriptorStartupException
- if the test determines
that the environement or system is not in a safe state to startupdefault StartupChecks.StartupCheckType getStartupCheckType()
default void postAction(StartupChecksOptions options)
options
- startup check options from descriptorCopyright © 2009- The Apache Software Foundation