Package org.elasticsearch.bootstrap
Interface BootstrapCheck
public interface BootstrapCheck
Encapsulates a bootstrap check.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Encapsulate the result of a bootstrap check. -
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
check(BootstrapContext context)
Test if the node fails the check.
-
Method Details
-
check
Test if the node fails the check.- Parameters:
context
- the bootstrap context- Returns:
- the result of the bootstrap check
-
alwaysEnforce
default boolean alwaysEnforce()
-