Search Results for

    Show / Hide Table of Contents

    Class FixedSizeValueDiskSegment<TKey, TValue>

    Inheritance
    object
    DiskSegment<TKey, TValue>
    FixedSizeValueDiskSegment<TKey, TValue>
    Implements
    IDiskSegment<TKey, TValue>
    IReadOnlySegment<TKey, TValue>
    IIndexedReader<TKey, TValue>
    IDisposable
    Inherited Members
    DiskSegment<TKey, TValue>.SegmentId
    DiskSegment<TKey, TValue>.Length
    DiskSegment<TKey, TValue>.MaximumOpIndex
    DiskSegment<TKey, TValue>.IsFullyFrozen
    DiskSegment<TKey, TValue>.IsIterativeIndexReader
    DiskSegment<TKey, TValue>.ReadBufferCount
    DiskSegment<TKey, TValue>.DropFailureReporter
    DiskSegment<TKey, TValue>.CircularKeyCache
    DiskSegment<TKey, TValue>.CircularValueCache
    DiskSegment<TKey, TValue>.ContainsKey(in TKey)
    DiskSegment<TKey, TValue>.GetKey(long)
    DiskSegment<TKey, TValue>.GetValue(long)
    DiskSegment<TKey, TValue>.TryGet(in TKey, out TValue)
    DiskSegment<TKey, TValue>.InitSparseArray(int)
    DiskSegment<TKey, TValue>.LoadIntoMemory()
    DiskSegment<TKey, TValue>.GetFirstKeysOfEveryPart()
    DiskSegment<TKey, TValue>.GetLastKeysOfEveryPart()
    DiskSegment<TKey, TValue>.GetLastValuesOfEveryPart()
    DiskSegment<TKey, TValue>.GetPart(int)
    DiskSegment<TKey, TValue>.Dispose()
    DiskSegment<TKey, TValue>.Drop()
    DiskSegment<TKey, TValue>.GetIndexedReader()
    DiskSegment<TKey, TValue>.AttachIterator()
    DiskSegment<TKey, TValue>.DetachIterator()
    DiskSegment<TKey, TValue>.GetSeekableIterator()
    DiskSegment<TKey, TValue>.GetLastSmallerOrEqualPosition(in TKey)
    DiskSegment<TKey, TValue>.GetFirstGreaterOrEqualPosition(in TKey)
    DiskSegment<TKey, TValue>.ReleaseResources()
    DiskSegment<TKey, TValue>.ReleaseReadBuffers(long)
    DiskSegment<TKey, TValue>.Drop(HashSet<long>)
    DiskSegment<TKey, TValue>.IsBeginningOfAPart(long)
    DiskSegment<TKey, TValue>.IsEndOfAPart(long)
    DiskSegment<TKey, TValue>.GetPartIndex(long)
    DiskSegment<TKey, TValue>.GetPartCount()
    DiskSegment<TKey, TValue>.SetDefaultSparseArray(IReadOnlyList<SparseArrayEntry<TKey, TValue>>)
    DiskSegment<TKey, TValue>.ReleaseCircularKeyCacheRecords()
    DiskSegment<TKey, TValue>.ReleaseCircularValueCacheRecords()
    DiskSegment<TKey, TValue>.GetKey(long, BlockPin)
    DiskSegment<TKey, TValue>.GetValue(long, BlockPin)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Segments.DiskSegmentVariations
    Assembly: ZoneTree.dll
    Syntax
    public sealed class FixedSizeValueDiskSegment<TKey, TValue> : DiskSegment<TKey, TValue>, IDiskSegment<TKey, TValue>, IReadOnlySegment<TKey, TValue>, IIndexedReader<TKey, TValue>, IDisposable
    Type Parameters
    Name Description
    TKey
    TValue

    Constructors

    | Improve this Doc View Source

    FixedSizeValueDiskSegment(long, ZoneTreeOptions<TKey, TValue>)

    Declaration
    public FixedSizeValueDiskSegment(long segmentId, ZoneTreeOptions<TKey, TValue> options)
    Parameters
    Type Name Description
    long segmentId
    ZoneTreeOptions<TKey, TValue> options
    | Improve this Doc View Source

    FixedSizeValueDiskSegment(long, ZoneTreeOptions<TKey, TValue>, IRandomAccessDevice, IRandomAccessDevice)

    Declaration
    public FixedSizeValueDiskSegment(long segmentId, ZoneTreeOptions<TKey, TValue> options, IRandomAccessDevice dataHeaderDevice, IRandomAccessDevice dataDevice)
    Parameters
    Type Name Description
    long segmentId
    ZoneTreeOptions<TKey, TValue> options
    IRandomAccessDevice dataHeaderDevice
    IRandomAccessDevice dataDevice

    Properties

    | Improve this Doc View Source

    ReadBufferCount

    Gets the count of read buffers.

    Declaration
    public override int ReadBufferCount { get; }
    Property Value
    Type Description
    int
    Overrides
    DiskSegment<TKey, TValue>.ReadBufferCount

    Methods

    | Improve this Doc View Source

    DeleteDevices()

    Declaration
    protected override void DeleteDevices()
    Overrides
    DiskSegment<TKey, TValue>.DeleteDevices()
    | Improve this Doc View Source

    ReadKey(long, BlockPin)

    Declaration
    protected override TKey ReadKey(long index, BlockPin blockPin)
    Parameters
    Type Name Description
    long index
    BlockPin blockPin
    Returns
    Type Description
    TKey
    Overrides
    DiskSegment<TKey, TValue>.ReadKey(long, BlockPin)
    | Improve this Doc View Source

    ReadValue(long, BlockPin)

    Declaration
    protected override TValue ReadValue(long index, BlockPin blockPin)
    Parameters
    Type Name Description
    long index
    BlockPin blockPin
    Returns
    Type Description
    TValue
    Overrides
    DiskSegment<TKey, TValue>.ReadValue(long, BlockPin)
    | Improve this Doc View Source

    ReleaseReadBuffers(long)

    Releases internal read buffers that have not been used since the specified tick count.

    Declaration
    public override int ReleaseReadBuffers(long ticks)
    Parameters
    Type Name Description
    long ticks
    Returns
    Type Description
    int

    The total number of released read buffers.

    Overrides
    DiskSegment<TKey, TValue>.ReleaseReadBuffers(long)
    | Improve this Doc View Source

    ReleaseResources()

    Declaration
    public override void ReleaseResources()
    Overrides
    DiskSegment<TKey, TValue>.ReleaseResources()
    | Improve this Doc View Source

    SetDefaultSparseArray(IReadOnlyList<SparseArrayEntry<TKey, TValue>>)

    Sets default sparse array of the disk segment and persists it to the disk.

    Declaration
    public override void SetDefaultSparseArray(IReadOnlyList<SparseArrayEntry<TKey, TValue>> defaultSparseArray)
    Parameters
    Type Name Description
    IReadOnlyList<SparseArrayEntry<TKey, TValue>> defaultSparseArray
    Overrides
    DiskSegment<TKey, TValue>.SetDefaultSparseArray(IReadOnlyList<SparseArrayEntry<TKey, TValue>>)

    Implements

    IDiskSegment<TKey, TValue>
    IReadOnlySegment<TKey, TValue>
    IIndexedReader<TKey, TValue>
    IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io