|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.net.DefaultConfigurableCacheFactory.CacheInfo
public static class DefaultConfigurableCacheFactory.CacheInfo
CacheInfo is a placeholder for cache attributes retrieved during parsing the corresponding cache mapping element.
Field Summary | |
---|---|
protected Map |
m_mapAttribute
Map of scheme attributes. |
protected String |
m_sCacheName
The cache name. |
protected String |
m_sSchemeName
The corresponding scheme name. |
Constructor Summary | |
---|---|
DefaultConfigurableCacheFactory.CacheInfo(String sCacheName,
String sSchemeName,
Map mapAttribute)
Construct a CacheInfo object. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
protected String m_sCacheName
protected String m_sSchemeName
protected Map m_mapAttribute
Constructor Detail |
---|
public DefaultConfigurableCacheFactory.CacheInfo(String sCacheName, String sSchemeName, Map mapAttribute)
sCacheName
- the cache namesSchemeName
- the corresponding scheme namemapAttribute
- the corresponding map of attributesMethod Detail |
---|
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
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |