Share via


HybridCacheOptions Class

Definition

Options for configuring the default HybridCache implementation.

public class HybridCacheOptions
type HybridCacheOptions = class
Public Class HybridCacheOptions
Inheritance
HybridCacheOptions

Constructors

Name Description
HybridCacheOptions()

Properties

Name Description
DefaultEntryOptions

Gets or sets the default global options to be applied to HybridCache operations.

DisableCompression

Gets or sets a value indicating whether compression for this HybridCache instance is disabled.

DistributedCacheServiceKey

Gets or sets the key used to resolve the distributed cache service from the IServiceProvider.

MaximumKeyLength

Gets or sets the maximum permitted length (in characters) of keys.

MaximumPayloadBytes

Gets or sets the maximum size of cache items.

ReportTagMetrics

Gets or sets a value indicating whether to use "tags" data as dimensions on metric reporting.

Applies to