Class MongoDBChecker
java.lang.Object
org.nuxeo.ecm.core.storage.mongodb.MongoDBChecker
- All Implemented Interfaces:
BackingChecker
- Since:
- 9.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(ConfigurationHolder configHolder) Test if the check has to be done for the given configuration.voidcheck(ConfigurationHolder configHolder) Test the availability of the backing service.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.launcher.config.backingservices.BackingChecker
getDescriptor, getDescriptor, getDescriptor, getDescriptor
-
Field Details
-
TEMPLATE_NAME
- See Also:
-
CONFIG_NAME
- See Also:
-
PARAM_MONGODB_CHECK_TIMEOUT
- Since:
- 9.3
- See Also:
-
DEFAULT_CHECK_TIMEOUT_IN_SECONDS
public static final int DEFAULT_CHECK_TIMEOUT_IN_SECONDS- Since:
- 9.3
- See Also:
-
-
Constructor Details
-
MongoDBChecker
public MongoDBChecker()
-
-
Method Details
-
accepts
Description copied from interface:BackingCheckerTest if the check has to be done for the given configuration.- Specified by:
acceptsin interfaceBackingChecker- Parameters:
configHolder- The current configuration- Returns:
- true if
BackingChecker.check(ConfigurationHolder)has to be called.
-
check
Description copied from interface:BackingCheckerTest the availability of the backing service.- Specified by:
checkin interfaceBackingChecker- Parameters:
configHolder- The current configuration- Throws:
ConfigurationException- if backing service is not available.
-