Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/net/DefaultConfigurableCacheFactory.hpp>
Inherits Object.
CacheInfo is a placeholder for cache attributes retrieved during parsing the corresponding cache mapping element.
Public Types |
|
| typedef spec::Handle | Handle |
| CacheInfo Handle definition. | |
| typedef spec::View | View |
| CacheInfo View definition. | |
| typedef spec::Holder | Holder |
| CacheInfo Holder definition. | |
Public Member Functions |
|
| virtual String::View | getCacheName () const |
| Obtain the cache name. | |
| virtual String::View | getSchemeName () const |
| Obtain the scheme name. | |
| virtual Map::View | getAttributes () const |
| Obtain the attribute map. | |
| virtual void | replaceAttributes (XmlElement::Handle hXml) const |
| Find and replace the attributes names in "{}" format with the corresponding values for this cache info. | |
| virtual CacheInfo::Handle | getSyntheticInfo (String::View vsSuffix) const |
| Generate a synthetic CacheInfo for a cache that has a name suffixed with the specified string. | |
Protected Member Functions |
|
| CacheInfo (String::View vsCacheName, String::View vsSchemeName, Map::View vMapAttribute) | |
| Create a new CacheInfo. | |
Protected Attributes |
|
| FinalView< String > | m_vsCacheName |
| The cache name. | |
| FinalView< String > | m_vsSchemeName |
| The corresponding scheme name. | |
| FinalView< Map > | m_vMapAttribute |
| Map of scheme attributes. | |
| CacheInfo | ( | String::View | vsCacheName, | |
| String::View | vsSchemeName, | |||
| Map::View | vMapAttribute | |||
| ) | [protected] |
| virtual String::View getCacheName | ( | ) | const [virtual] |
| virtual String::View getSchemeName | ( | ) | const [virtual] |
Obtain the scheme name.
| virtual Map::View getAttributes | ( | ) | const [virtual] |
Obtain the attribute map.
| virtual void replaceAttributes | ( | XmlElement::Handle | hXml | ) | const [virtual] |
Find and replace the attributes names in "{}" format with the corresponding values for this cache info.
Note: the content of the specified XmlElement could be modified, so the caller is supposed to clone the passed in XML if necessary.
| hXml | the XmlElement to replace "{}" attributes at |
| virtual CacheInfo::Handle getSyntheticInfo | ( | String::View | vsSuffix | ) | const [virtual] |
The documentation for this class was generated from the following file: