@FunctionalInterface public interface ConfigPatternMatcher
It is used on each Config.getXXXConfig() and ClientConfig.getXXXConfig() call for any data structure. It is supplied a list of config patterns and the name of the item that the configuration is requested for.
Default matcher is MatchingPointConfigPatternMatcher.
| Modifier and Type | Method and Description |
|---|---|
String |
matches(Iterable<String> configPatterns,
String itemName)
Returns the best match for an item name out of a list of configuration patterns.
|
String matches(Iterable<String> configPatterns, String itemName) throws InvalidConfigurationException
configPatterns - list of known configuration patternsitemName - item name to matchnull if there
is no matchInvalidConfigurationException - if ambiguous configurations are foundCopyright © 2022 Hazelcast, Inc.. All rights reserved.