Search Results for

    Show / Hide Table of Contents

    Class BlockCache

    Inheritance
    object
    BlockCache
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Segments.Block
    Assembly: ZoneTree.dll
    Syntax
    public sealed class BlockCache

    Fields

    | Improve this Doc View Source

    Table

    Declaration
    public readonly ConcurrentDictionary<int, DecompressedBlock> Table
    Field Value
    Type Description
    ConcurrentDictionary<int, DecompressedBlock>

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    Methods

    | Improve this Doc View Source

    AddBlock(DecompressedBlock)

    Declaration
    public void AddBlock(DecompressedBlock block)
    Parameters
    Type Name Description
    DecompressedBlock block
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    RemoveBlock(int)

    Declaration
    public void RemoveBlock(int blockIndex)
    Parameters
    Type Name Description
    int blockIndex
    | Improve this Doc View Source

    RemoveBlocksAccessedBefore(long)

    Declaration
    public int RemoveBlocksAccessedBefore(long ticks)
    Parameters
    Type Name Description
    long ticks
    Returns
    Type Description
    int
    | Improve this Doc View Source

    TryGetBlock(int, out DecompressedBlock)

    Declaration
    public bool TryGetBlock(int blockIndex, out DecompressedBlock block)
    Parameters
    Type Name Description
    int blockIndex
    DecompressedBlock block
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io