Class CacheManagerHandleCollection
The collection of cache handles defined for a cache manager.
Inherited Members
Namespace:CacheManager.Core.Configuration
Assembly:CacheManager.Core.dll
Syntax
public sealed class CacheManagerHandleCollection : ConfigurationElementCollection, ICollection, IEnumerable<CacheManagerHandle>, IEnumerable
Constructors
| Improve this Doc View SourceCacheManagerHandleCollection()
Initializes a new instance of the CacheManagerHandleCollection class.
Declaration
public CacheManagerHandleCollection()
Properties
| Improve this Doc View SourceBackplaneName
Gets or sets the name of the backplane.
Declaration
[ConfigurationProperty("backplaneName", IsRequired = false)]
public string BackplaneName { get; set; }
Property Value
Type | Description |
---|---|
String | The name of the backplane. |
BackplaneType
Gets or sets the type of the backplane.
Declaration
[ConfigurationProperty("backplaneType", IsRequired = false)]
public string BackplaneType { get; set; }
Property Value
Type | Description |
---|---|
String | The type of the backplane. |
EnablePerformanceCounters
Gets or sets a value indicating whether performance counters should be enabled.
Declaration
[ConfigurationProperty("enablePerformanceCounters", IsRequired = false, DefaultValue = false)]
public bool EnablePerformanceCounters { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
EnableStatistics
Gets or sets a value indicating whether statistics should be enabled.
Declaration
[ConfigurationProperty("enableStatistics", IsRequired = false, DefaultValue = true)]
public bool EnableStatistics { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
MaximumRetries
Gets or sets the number of maximum retries.
Declaration
[ConfigurationProperty("maxRetries", IsRequired = false)]
public int ? MaximumRetries { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | The number of maximum retries. |
Name
Gets or sets the name.
Declaration
[ConfigurationProperty("name", IsKey = true, IsRequired = true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String | The name. |
RetryTimeout
Gets or sets the retry timeout.
Declaration
[ConfigurationProperty("retryTimeout", IsRequired = false)]
public int ? RetryTimeout { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | The retry timeout. |
SerializerType
Gets or sets the type of the serializer.
Declaration
[ConfigurationProperty("serializerType", IsRequired = false)]
public string SerializerType { get; set; }
Property Value
Type | Description |
---|---|
String | The type of the serializer. |
UpdateMode
Gets or sets the update mode.
Declaration
[ConfigurationProperty("updateMode", IsRequired = false, DefaultValue = CacheUpdateMode.Up)]
public CacheUpdateMode UpdateMode { get; set; }
Property Value
Type | Description |
---|---|
CacheUpdateMode | The update mode. |
Methods
| Improve this Doc View SourceCreateNewElement()
When overridden in a derived class, creates a new ConfigurationElement.
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
ConfigurationElement | A new ConfigurationElement. |
Overrides
| Improve this Doc View SourceGetElementKey(ConfigurationElement)
Gets the element key for a specified configuration element when overridden in a derived class.
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationElement | element | The ConfigurationElement to return the key for. |
Returns
Type | Description |
---|---|
Object | An Object that acts as the key for the specified ConfigurationElement. |
Overrides
| Improve this Doc View SourceGetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<CacheManagerHandle> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<CacheManagerHandle> | A IEnumerator<T> that can be used to iterate through the collection. |