Package com.tangosol.net
Class DefaultConfigurableCacheFactory.CacheInfo
java.lang.Object
com.tangosol.net.DefaultConfigurableCacheFactory.CacheInfo
- Enclosing class:
 DefaultConfigurableCacheFactory
CacheInfo is a placeholder for cache attributes retrieved during parsing
 the corresponding cache mapping element.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionObtain the attribute map.Obtain the cache name.Obtain the scheme name.getSyntheticInfo(String sSuffix) Generate a synthetic CacheInfo for a cache that has a name suffixed with the specified string.voidFind and replace the attributes names in "{}" format with the corresponding values for this cache info. 
- 
Field Details
- 
m_sCacheName
The cache name. - 
m_sSchemeName
The corresponding scheme name. - 
m_mapAttribute
Map of scheme attributes. 
 - 
 - 
Constructor Details
- 
CacheInfo
Construct a CacheInfo object.- Parameters:
 sCacheName- the cache namesSchemeName- the corresponding scheme namemapAttribute- the corresponding map of attributes
 
 - 
 - 
Method Details
- 
getCacheName
Obtain the cache name.- Returns:
 - the cache name
 
 - 
getSchemeName
Obtain the scheme name.- Returns:
 - the scheme name
 
 - 
getAttributes
Obtain the attribute map.- Returns:
 - the attribute map
 
 - 
replaceAttributes
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.
- Parameters:
 xml- the XmlElement to replace "{}" attributes at
 - 
getSyntheticInfo
Generate a synthetic CacheInfo for a cache that has a name suffixed with the specified string.- Parameters:
 sSuffix- the cache name suffix- Returns:
 - the "cloned" synthetic CacheInfo
 
 
 -