Show / Hide Table of Contents

    Class MemoryThrottlingCache

    Provides a simple in-memory representation of the IThrottlingCache. This class cannot be inherited. Implements the ThrottleRequest. Implements the IThrottlingCache.

    Inheritance
    System.Object
    System.Collections.Concurrent.ConcurrentDictionary<System.String, ThrottleRequest>
    MemoryThrottlingCache
    Implements
    System.Collections.Generic.IReadOnlyDictionary<System.String, ThrottleRequest>
    System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String, ThrottleRequest>>
    System.Collections.IDictionary
    System.Collections.ICollection
    IThrottlingCache
    System.Collections.Generic.IDictionary<System.String, ThrottleRequest>
    System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, ThrottleRequest>>
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ThrottleRequest>>
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.get_Item(System.Object)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.AddOrUpdate(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest, System.Func<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.AddOrUpdate(System.String, System.Func<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>, System.Func<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Clear()
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.ContainsKey(System.String)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.GetEnumerator()
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.GetOrAdd(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.GetOrAdd(System.String, System.Func<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>>.Add(System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>>.Contains(System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>>.CopyTo(System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>[], System.Int32)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>>.Remove(System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.IDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Add(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.IDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Remove(System.String)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.Add(System.Object, System.Object)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.Contains(System.Object)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.GetEnumerator()
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.Remove(System.Object)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.ToArray()
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.TryAdd(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.TryGetValue(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.TryRemove(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.TryUpdate(System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest)
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Count
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.IsEmpty
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Item[System.String]
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Keys
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>>.IsReadOnly
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.IReadOnlyDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Keys
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.Generic.IReadOnlyDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Values
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.ICollection.IsSynchronized
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.ICollection.SyncRoot
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.IsFixedSize
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.IsReadOnly
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.Item[System.Object]
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.Keys
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.System.Collections.IDictionary.Values
    System.Collections.Concurrent.ConcurrentDictionary<System.String, Cuemon.AspNetCore.Http.Throttling.ThrottleRequest>.Values
    Namespace: Cuemon.AspNetCore.Http.Throttling
    Assembly: Cuemon.AspNetCore.dll
    Syntax
    public sealed class MemoryThrottlingCache : ConcurrentDictionary<string, ThrottleRequest>, IReadOnlyDictionary<string, ThrottleRequest>, IReadOnlyCollection<KeyValuePair<string, ThrottleRequest>>, IDictionary, ICollection, IThrottlingCache, IDictionary<string, ThrottleRequest>, ICollection<KeyValuePair<string, ThrottleRequest>>, IEnumerable<KeyValuePair<string, ThrottleRequest>>, IEnumerable

    Implements

    System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.IDictionary
    System.Collections.ICollection
    IThrottlingCache
    System.Collections.Generic.IDictionary<TKey, TValue>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)

    See Also

    ThrottleRequest
    IThrottlingCache
    ThrottlingSentinelMiddleware
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX