Package org.apache.cassandra.service
Class DataResurrectionCheck
java.lang.Object
org.apache.cassandra.service.DataResurrectionCheck
- All Implemented Interfaces:
StartupCheck
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(StartupChecksOptions options) 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.getExcludedKeyspaces(Map<String, Object> config) getExcludedTables(Map<String, Object> config) voidpostAction(StartupChecksOptions options) Post-hook after all startup checks succeeded.
-
Field Details
-
HEARTBEAT_FILE_CONFIG_PROPERTY
- See Also:
-
EXCLUDED_KEYSPACES_CONFIG_PROPERTY
- See Also:
-
EXCLUDED_TABLES_CONFIG_PROPERTY
- See Also:
-
DEFAULT_HEARTBEAT_FILE
- See Also:
-
-
Constructor Details
-
DataResurrectionCheck
public DataResurrectionCheck()
-
-
Method Details
-
getStartupCheckType
- Specified by:
getStartupCheckTypein interfaceStartupCheck- Returns:
- type of this startup check for configuration retrieval
-
execute
Description copied from interface:StartupCheckRun 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.- Specified by:
executein interfaceStartupCheck- Parameters:
options- all options from descriptor- Throws:
StartupException- if the test determines that the environement or system is not in a safe state to startup
-
postAction
Description copied from interface:StartupCheckPost-hook after all startup checks succeeded.- Specified by:
postActionin interfaceStartupCheck- Parameters:
options- startup check options from descriptor
-
getExcludedKeyspaces
-
getExcludedTables
-