Package co.elastic.apm.agent.premain
Interface BootstrapCheck
-
- All Known Implementing Classes:
JavaVersionBootstrapCheck
,VerifyNoneBootstrapCheck
public interface BootstrapCheck
A check that gets executed when the agent starts up. If any check fails, the agent won't start unless theelastic.apm.disable_bootstrap_checks
system property is set to true.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BootstrapCheck.BootstrapCheckResult
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doBootstrapCheck(BootstrapCheck.BootstrapCheckResult result)
Performs the bootstrap check.
-
-
-
Method Detail
-
doBootstrapCheck
void doBootstrapCheck(BootstrapCheck.BootstrapCheckResult result)
Performs the bootstrap check.- Parameters:
result
- Add an error message to avoid the agent from starting up.
-
-