Search Results for

    Show / Hide Table of Contents
    View Source

    Class SnapDictionary<TKey, TValue>

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.PublishedCache
    Assembly: Umbraco.PublishedCache.NuCache.dll
    Syntax
    public class SnapDictionary<TKey, TValue> : object where TValue : class
    Type Parameters
    Name Description
    TKey
    TValue

    Constructors

    View Source

    SnapDictionary()

    Declaration
    public SnapDictionary()

    Properties

    View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    View Source

    GenCount

    Declaration
    public long GenCount { get; }
    Property Value
    Type Description
    System.Int64
    View Source

    SnapCount

    Declaration
    public long SnapCount { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    View Source

    ClearLocked()

    Declaration
    public void ClearLocked()
    View Source

    ClearLocked(TKey)

    Declaration
    public void ClearLocked(TKey key)
    Parameters
    Type Name Description
    TKey key
    View Source

    CollectAsync()

    Declaration
    public Task CollectAsync()
    Returns
    Type Description
    Task
    View Source

    CreateSnapshot()

    Declaration
    public SnapDictionary<TKey, TValue>.Snapshot CreateSnapshot()
    Returns
    Type Description
    SnapDictionary.Snapshot<>
    View Source

    Get(TKey, Int64)

    Declaration
    public TValue Get(TKey key, long gen)
    Parameters
    Type Name Description
    TKey key
    System.Int64 gen
    Returns
    Type Description
    TValue
    View Source

    GetAll(Int64)

    Declaration
    public IEnumerable<TValue> GetAll(long gen)
    Parameters
    Type Name Description
    System.Int64 gen
    Returns
    Type Description
    IEnumerable<TValue>
    View Source

    GetScopedWriteLock(IScopeProvider)

    Declaration
    public IDisposable GetScopedWriteLock(IScopeProvider scopeProvider)
    Parameters
    Type Name Description
    IScopeProvider scopeProvider
    Returns
    Type Description
    IDisposable
    View Source

    IsEmpty(Int64)

    Declaration
    public bool IsEmpty(long gen)
    Parameters
    Type Name Description
    System.Int64 gen
    Returns
    Type Description
    System.Boolean
    View Source

    SetLocked(TKey, TValue)

    Declaration
    public void SetLocked(TKey key, TValue value)
    Parameters
    Type Name Description
    TKey key
    TValue value
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SnapDictionary()
    • Properties
      • Count
      • GenCount
      • SnapCount
    • Methods
      • ClearLocked()
      • ClearLocked(TKey)
      • CollectAsync()
      • CreateSnapshot()
      • Get(TKey, Int64)
      • GetAll(Int64)
      • GetScopedWriteLock(IScopeProvider)
      • IsEmpty(Int64)
      • SetLocked(TKey, TValue)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX