#include <coherence/net/DefaultConfigurableCacheFactory.hpp>
Inherits Object.
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 > | f_vsCacheName |
The cache name. | |
FinalView< String > | f_vsSchemeName |
The corresponding scheme name. | |
FinalView< Map > | f_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] |