Interface IReadOnlyCacheManagerConfiguration
The readonly configuration contract for cache managers.
Namespace:CacheManager.Core
Assembly:CacheManager.Core.dll
Syntax
public interface IReadOnlyCacheManagerConfiguration
Properties
| Improve this Doc View SourceBackplaneChannelName
Gets the backplane channel name.
Declaration
string BackplaneChannelName { get; }
Property Value
Type | Description |
---|---|
String | The channel name. |
BackplaneConfigurationKey
Gets the configuration key the backplane might use.
Declaration
string BackplaneConfigurationKey { get; }
Property Value
Type | Description |
---|---|
String | The key of the backplane configuration. |
BackplaneType
Gets the factory method for a cache backplane.
Declaration
Type BackplaneType { get; }
Property Value
Type | Description |
---|---|
Type | The backplane activator. |
BackplaneTypeArguments
Gets additional arguments which should be used instantiating the backplane.
Declaration
object[] BackplaneTypeArguments { get; }
Property Value
Type | Description |
---|---|
Object[] | The list of arguments. |
HasBackplane
Gets a value indicating whether this instance has a backplane defined.
Declaration
bool HasBackplane { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
LoggerFactoryType
Gets the factory method for a logger factory.
Declaration
Type LoggerFactoryType { get; }
Property Value
Type | Description |
---|---|
Type | The logger factory activator. |
LoggerFactoryTypeArguments
Gets additional arguments which should be used instantiating the logger factory.
Declaration
object[] LoggerFactoryTypeArguments { get; }
Property Value
Type | Description |
---|---|
Object[] | The list of arguments. |
MaxRetries
Gets the limit of the number of retry operations per action.
Default is 50.
Declaration
int MaxRetries { get; }
Property Value
Type | Description |
---|---|
Int32 | The maximum retries. |
Name
Gets the name of the cache.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String | The name of the cache. |
RetryTimeout
Gets the number of milliseconds the cache should wait before it will retry an action.
Default is 100.
Declaration
int RetryTimeout { get; }
Property Value
Type | Description |
---|---|
Int32 | The retry timeout. |
SerializerType
Gets the factory method for a cache serializer.
Declaration
Type SerializerType { get; }
Property Value
Type | Description |
---|---|
Type | The serializer activator. |
SerializerTypeArguments
Gets additional arguments which should be used instantiating the serializer.
Declaration
object[] SerializerTypeArguments { get; }
Property Value
Type | Description |
---|---|
Object[] | The list of arguments. |
UpdateMode
Gets the UpdateMode for the cache manager instance.
Drives the behavior of the cache manager how it should update the different cache handles it manages.
Declaration
CacheUpdateMode UpdateMode { get; }
Property Value
Type | Description |
---|---|
CacheUpdateMode | The cache update mode. |