Package org.elasticsearch.bootstrap
Interface BootstrapCheck
public interface BootstrapCheck
Encapsulates a bootstrap check.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBootstrapCheck.BootstrapCheckResultEncapsulate the result of a bootstrap check. -
Method Summary
Modifier and Type Method Description default booleanalwaysEnforce()BootstrapCheck.BootstrapCheckResultcheck(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()
-