Package org.nuxeo.ecm.core.redis
Class RedisChecker
- java.lang.Object
-
- org.nuxeo.ecm.core.redis.RedisChecker
-
- All Implemented Interfaces:
BackingChecker
public class RedisChecker extends Object implements BackingChecker
- Since:
- 2021.10
-
-
Constructor Summary
Constructors Constructor Description RedisChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(ConfigurationHolder configHolder)
Test if the check has to be done for the given configuration.void
check(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, wait
-
Methods inherited from interface org.nuxeo.launcher.config.backingservices.BackingChecker
getDescriptor, getDescriptor, getDescriptor, getDescriptor
-
-
-
-
Method Detail
-
accepts
public boolean accepts(ConfigurationHolder configHolder)
Description copied from interface:BackingChecker
Test if the check has to be done for the given configuration.- Specified by:
accepts
in interfaceBackingChecker
- Parameters:
configHolder
- The current configuration- Returns:
- true if
BackingChecker.check(ConfigurationHolder)
has to be called.
-
check
public void check(ConfigurationHolder configHolder) throws ConfigurationException
Description copied from interface:BackingChecker
Test the availability of the backing service.- Specified by:
check
in interfaceBackingChecker
- Parameters:
configHolder
- The current configuration- Throws:
ConfigurationException
- if backing service is not available.
-
-