Search Results for

    Show / Hide Table of Contents

    Class ZoneTreeMetaWAL<TKey, TValue>

    Inheritance
    object
    ZoneTreeMetaWAL<TKey, TValue>
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Core
    Assembly: ZoneTree.dll
    Syntax
    public sealed class ZoneTreeMetaWAL<TKey, TValue> : IDisposable
    Type Parameters
    Name Description
    TKey
    TValue

    Constructors

    | Improve this Doc View Source

    ZoneTreeMetaWAL(ZoneTreeOptions<TKey, TValue>, bool)

    Declaration
    public ZoneTreeMetaWAL(ZoneTreeOptions<TKey, TValue> options, bool isReadOnly)
    Parameters
    Type Name Description
    ZoneTreeOptions<TKey, TValue> options
    bool isReadOnly

    Properties

    | Improve this Doc View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    Options

    Declaration
    public ZoneTreeOptions<TKey, TValue> Options { get; }
    Property Value
    Type Description
    ZoneTreeOptions<TKey, TValue>

    Methods

    | Improve this Doc View Source

    ClearContent()

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

    DeleteBottomSegment(long)

    Declaration
    public void DeleteBottomSegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    DeleteFile()

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

    DequeueBottomSegment(long)

    Declaration
    public void DequeueBottomSegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    DequeueReadOnlySegment(long)

    Declaration
    public void DequeueReadOnlySegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

    EnqueueBottomSegment(long)

    Declaration
    public void EnqueueBottomSegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    EnqueueReadOnlySegment(long)

    Declaration
    public void EnqueueReadOnlySegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    Exists(ZoneTreeOptions<TKey, TValue>)

    Declaration
    public static bool Exists(ZoneTreeOptions<TKey, TValue> options)
    Parameters
    Type Name Description
    ZoneTreeOptions<TKey, TValue> options
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetAllRecords()

    Declaration
    public IReadOnlyList<MetaWalRecord> GetAllRecords()
    Returns
    Type Description
    IReadOnlyList<MetaWalRecord>
    | Improve this Doc View Source

    InsertBottomSegment(long, int)

    Declaration
    public void InsertBottomSegment(long segmentId, int index)
    Parameters
    Type Name Description
    long segmentId
    int index
    | Improve this Doc View Source

    LoadZoneTreeMetaWithoutWALRecords(IRandomAccessDeviceManager)

    Declaration
    public static ZoneTreeMeta LoadZoneTreeMetaWithoutWALRecords(IRandomAccessDeviceManager deviceManager)
    Parameters
    Type Name Description
    IRandomAccessDeviceManager deviceManager
    Returns
    Type Description
    ZoneTreeMeta
    | Improve this Doc View Source

    NewDiskSegment(long)

    Declaration
    public void NewDiskSegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    NewMutableSegment(long)

    Declaration
    public void NewMutableSegment(long segmentId)
    Parameters
    Type Name Description
    long segmentId
    | Improve this Doc View Source

    SaveMetaData(ZoneTreeMeta, long, long, long[], long[], bool)

    Declaration
    public void SaveMetaData(ZoneTreeMeta zoneTreeMeta, long mutableSegment, long diskSegment, long[] readOnlySegments, long[] bottomSegments, bool createNew = false)
    Parameters
    Type Name Description
    ZoneTreeMeta zoneTreeMeta
    long mutableSegment
    long diskSegment
    long[] readOnlySegments
    long[] bottomSegments
    bool createNew

    Implements

    IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io