Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::config::matcher::MatchingPointConfigPatternMatcher Class Reference

This. More...

#include <MatchingPointConfigPatternMatcher.h>

+ Inheritance diagram for hazelcast::client::config::matcher::MatchingPointConfigPatternMatcher:

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...
 

Detailed Description

This.

ConfigPatternMatcher

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.

Member Function Documentation

◆ matches()

boost::shared_ptr< std::string > hazelcast::client::config::matcher::MatchingPointConfigPatternMatcher::matches ( const std::vector< std::string > &  configPatterns,
const std::string &  itemName 
) const
virtual

Returns the best match for an item name out of a list of configuration patterns.

Parameters
configPatternslist of configuration patterns
itemNameitem name to match
Returns
a key of configPatterns which matches the item name or
NULL
if nothing matches
Exceptions
ConfigurationExceptionif ambiguous configurations are found

Implements hazelcast::client::config::ConfigPatternMatcher.


The documentation for this class was generated from the following files: