Megosztás a következőn keresztül:


HybridCacheOptions Class

Definition

Options for configuring the default HybridCache implementation.

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

Constructors

HybridCacheOptions()

Properties

DefaultEntryOptions

Gets or sets the default global options to be applied to HybridCache operations; if options are specified at the individual call level, the non-null values are merged (with the per-call options being used in preference to the global options). If no value is specified for a given option (globally or per-call), the implementation may choose a reasonable default.

DisableCompression

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

MaximumKeyLength

Gets or sets the maximum permitted length (in characters) of keys; attempts to use keys over this size will be logged.

MaximumPayloadBytes

Gets or sets the maximum size of cache items; attempts to store values over this size will be logged and the value will not be stored in cache.

ReportTagMetrics

Gets or sets a value indicating whether to use "tags" data as dimensions on metric reporting; if enabled, care should be used to ensure that tags do not contain data that should not be visible in metrics systems.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to