Class DefaultConfigurableCacheFactory.CacheInfo
A CacheInfo is a placeholder for cache attributes retrieved during parsing the corresponding cache mapping element.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class DefaultConfigurableCacheFactory.CacheInfo
Constructors
CacheInfo(string, string, IDictionary)
Construct a CacheInfo object.
Declaration
public CacheInfo(string cacheName, string schemeName, IDictionary attributes)
Parameters
Type | Name | Description |
---|---|---|
string | cacheName | The cache name. |
string | schemeName | The corresponding scheme name. |
IDictionary | attributes | The corresponding dictionary of attributes. |
Fields
m_attributes
Map of scheme attributes.
Declaration
protected IDictionary m_attributes
Field Value
Type | Description |
---|---|
IDictionary |
m_cacheName
The cache name.
Declaration
protected string m_cacheName
Field Value
Type | Description |
---|---|
string |
m_schemeName
The corresponding scheme name.
Declaration
protected string m_schemeName
Field Value
Type | Description |
---|---|
string |
Properties
Attributes
Obtain the attributes dictionary.
Declaration
public virtual IDictionary Attributes { get; }
Property Value
Type | Description |
---|---|
IDictionary | The attributes dictionary. |
CacheName
Obtain the cache name.
Declaration
public virtual string CacheName { get; }
Property Value
Type | Description |
---|---|
string | The cache name. |
SchemeName
Obtain the scheme name.
Declaration
public virtual string SchemeName { get; }
Property Value
Type | Description |
---|---|
string | The scheme name. |
Methods
ReplaceAttributes(IXmlElement)
Find and replace the attributes names in "{}" format with the corresponding values for this cache info.
Declaration
public virtual void ReplaceAttributes(IXmlElement xml)
Parameters
Type | Name | Description |
---|---|---|
IXmlElement | xml | The IXmlElement to replace "{}" attributes at. |
Remarks
Note: the content of the specified IXmlElement could be modified, so the caller is supposed to clone the passed in XML if necessary.