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
capacityint
Exceptions
- ArgumentOutOfRangeException
capacityis less than 1.