Package com.illumon.iris.controller
Class ReplayConfigChecker
java.lang.Object
com.illumon.iris.controller.ReplayConfigChecker
- All Implemented Interfaces:
ConfigChecker
public class ReplayConfigChecker extends Object implements ConfigChecker
Weeps configuration checker for replay query.
-
Constructor Summary
Constructors Constructor Description ReplayConfigChecker()
-
Method Summary
Modifier and Type Method Description boolean
isConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)
Verifies that a PersistentQueryConfiguration is acceptable.
-
Constructor Details
-
ReplayConfigChecker
public ReplayConfigChecker()
-
-
Method Details
-
isConfigOk
public boolean isConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)Description copied from interface:ConfigChecker
Verifies that a PersistentQueryConfiguration is acceptable.- Specified by:
isConfigOk
in interfaceConfigChecker
- Parameters:
allConfigurations
- the Map of serial numbers to configurationsconfiguration
- the configuration to checkerrorList
- if not null, a list of errors- Returns:
- true if the configuration should be committed; false if there are errors (which should be in errorList)
-