Documentation
Table of Contents

Constructor MemoryRequestCache

Namespace
IntentSharp.Resilience
Assembly
IntentSharp.dll

MemoryRequestCache(int)

Creates an empty cache that holds at most capacity entries. Storing a new key in a full cache removes the least recently used entry.

public MemoryRequestCache(int capacity = 1000)

Parameters

capacity int

Exceptions

ArgumentOutOfRangeException

capacity is less than 1.