Hazelcast C++ Client
|
This. More...
#include <MatchingPointConfigPatternMatcher.h>
Public Member Functions | |
virtual boost::shared_ptr< std::string > | matches (const std::vector< std::string > &configPatterns, const std::string &itemName) const |
Returns the best match for an item name out of a list of configuration patterns. More... | |
This.
supports a simplified wildcard matching. See "Config.md ## Using Wildcard" for details about the syntax options.
In addition the candidates are weighted by the best match. The best result is returned. Throws exception::ConfigurationException is multiple configurations are found.
|
virtual |
Returns the best match for an item name out of a list of configuration patterns.
configPatterns | list of configuration patterns |
itemName | item name to match |
ConfigurationException | if ambiguous configurations are found |
Implements hazelcast::client::config::ConfigPatternMatcher.