public static class DefaultConfigurableCacheFactory.CacheInfo extends Object
Modifier and Type | Field | Description |
---|---|---|
protected Map |
m_mapAttribute |
Map of scheme attributes.
|
protected String |
m_sCacheName |
The cache name.
|
protected String |
m_sSchemeName |
The corresponding scheme name.
|
Constructor | Description |
---|---|
CacheInfo(String sCacheName,
String sSchemeName,
Map mapAttribute) |
Construct a CacheInfo object.
|
Modifier and Type | Method | Description |
---|---|---|
Map |
getAttributes() |
Obtain the attribute map.
|
String |
getCacheName() |
Obtain the cache name.
|
String |
getSchemeName() |
Obtain the scheme name.
|
DefaultConfigurableCacheFactory.CacheInfo |
getSyntheticInfo(String sSuffix) |
Generate a synthetic CacheInfo for a cache that has a name suffixed
with the specified string.
|
void |
replaceAttributes(XmlElement xml) |
Find and replace the attributes names in "{}" format with the
corresponding values for this cache info.
|
protected String m_sCacheName
protected String m_sSchemeName
protected Map m_mapAttribute
public String getCacheName()
public String getSchemeName()
public Map getAttributes()
public void replaceAttributes(XmlElement xml)
Note: the content of the specified XmlElement could be modified, so the caller is supposed to clone the passed in XML if necessary.
xml
- the XmlElement to replace "{}" attributes atpublic DefaultConfigurableCacheFactory.CacheInfo getSyntheticInfo(String sSuffix)
sSuffix
- the cache name suffix