Table of Contents

Interface ICache

Namespace
Amazon.Runtime.Internal.Util
Assembly
AWSSDK.Core.dll

Interface for a non-generic cache.

public interface ICache

Properties

CacheClearPeriod

How often should the cache be cleared of old items.

TimeSpan CacheClearPeriod { get; set; }

Property Value

TimeSpan

ItemCount

The number of items in the cache.

int ItemCount { get; }

Property Value

int

MaximumItemLifespan

Maximum time to keep an item around after its last use.

TimeSpan MaximumItemLifespan { get; set; }

Property Value

TimeSpan

Methods

Clear()

Clears the entire cache.

void Clear()