Table of Contents

Class CacheOptions

Namespace
Foundation.Data.Doublets.Cli
Assembly
Foundation.Data.Doublets.Cli.dll

What a CacheLinksDecorator<TLinkAddress> enforces. Each is optional, and the default is neither.

public sealed record CacheOptions : IEquatable<CacheOptions>
Inheritance
CacheOptions
Implements
Inherited Members

Constructors

CacheOptions(int?, ulong?)

What a CacheLinksDecorator<TLinkAddress> enforces. Each is optional, and the default is neither.

public CacheOptions(int? MaxLinks = null, ulong? TimeToLive = null)

Parameters

MaxLinks int?

How many links the store may hold, reached by evicting.

TimeToLive ulong?

The milliseconds a link created here has before it comes due.

Properties

How many links the store may hold, reached by evicting.

public int? MaxLinks { get; init; }

Property Value

int?

TimeToLive

The milliseconds a link created here has before it comes due.

public ulong? TimeToLive { get; init; }

Property Value

ulong?