Package org.elasticsearch.bootstrap
Interface BootstrapCheck
-
public interface BootstrapCheckEncapsulates 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 Detail
-
check
BootstrapCheck.BootstrapCheckResult check(BootstrapContext context)
Test if the node fails the check.- Parameters:
context- the bootstrap context- Returns:
- the result of the bootstrap check
-
alwaysEnforce
default boolean alwaysEnforce()
-
-