Interface BackingChecker
-
- All Known Implementing Classes:
DBCheck
,ElasticSearchChecker
,KafkaChecker
,MongoDBChecker
public interface BackingChecker
A backing checker checks for the availability of a backing service.- Since:
- 9.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accepts(ConfigurationGenerator cg)
Test if the check has to be done for the given configuration.void
check(ConfigurationGenerator cg)
Test the availbilty of the backing service.
-
-
-
Method Detail
-
accepts
boolean accepts(ConfigurationGenerator cg)
Test if the check has to be done for the given configuration.- Parameters:
cg
- The current configuration- Returns:
- true if
check(ConfigurationGenerator)
has to be called.
-
check
void check(ConfigurationGenerator cg) throws ConfigurationException
Test the availbilty of the backing service.- Parameters:
cg
- The current configuration- Throws:
ConfigurationException
- if backing service is not available.
-
-