@FunctionalInterface public interface HintOptionChecker
HintOptionChecker validates the options of a RelHint.
Every hint would have a validation when converting to a RelHint, the
validation logic is: i) checks whether the hint was already registered;
ii) use the registered HintOptionChecker to check the hint options.
In HintStrategyTable the option checker is used for
hints registration as an optional parameter.
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOptions(RelHint hint,
Litmus errorHandler)
Checks if the given hint is valid.
|
boolean checkOptions(RelHint hint, Litmus errorHandler)
Always use the Litmus.check(boolean, String, Object...)
to do the check. The default behavior is to log warnings for any hint error.
hint - The hint to checkerrorHandler - The error handlerCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.