Class CacheManagerHandle
Configuration element which defines a cache handle configuration within a cache manager configuration.
Inherited Members
Namespace:CacheManager.Core.Configuration
Assembly:CacheManager.Core.dll
Syntax
public sealed class CacheManagerHandle : ConfigurationElement
Properties
| Improve this Doc View SourceExpirationMode
Gets or sets the expiration mode.
Declaration
[ConfigurationProperty("expirationMode", IsRequired = false)]
public string ExpirationMode { get; set; }
Property Value
Type | Description |
---|---|
String | The expiration mode. |
IsBackplaneSource
Gets or sets a value indicating whether this instance is backplane source.
Declaration
[ConfigurationProperty("isBackplaneSource", IsRequired = false)]
public bool IsBackplaneSource { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
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. |
RefHandleId
Gets or sets the reference handle identifier.
Declaration
[ConfigurationProperty("ref", IsRequired = true)]
public string RefHandleId { get; set; }
Property Value
Type | Description |
---|---|
String | The reference handle identifier. |
Timeout
Gets or sets the default timeout for the cache handle. If not overruled by the cache manager configuration, this value will be used instead. If nothing is defined, no expiration will be used.
It is possible to define timeout in hours minutes or seconds by having a number + suffix, e.g. 10h means 10 hours, 5m means 5 minutes, 23s means 23 seconds.
If no suffix is defined, minutes will be used.Declaration
[ConfigurationProperty("timeout", IsRequired = false)]
public string Timeout { get; set; }
Property Value
Type | Description |
---|---|
String | The timeout. |