Search Results for

    Show / Hide Table of Contents

    Namespace Tenray.ZoneTree.Collections

    Classes

    BinarySearchAlgorithms

    DictionaryOfDictionaryWithWAL<TKey1, TKey2, TValue>

    Persistent Dictionary of dictionary implementation that is combined with a WriteAheadLog. This class is not thread-safe.

    DictionaryWithWAL<TKey, TValue>

    Persistent Dictionary implementation that is combined with a WriteAheadLog. This class is not thread-safe.

    FixedSizeMinHeap<TKey>

    SeekableIterator<TKey, TValue>

    SingleProducerSingleConsumerQueue<TQueueItem>

    Special Queue for ZoneTree.

    1. SingleProducerSingleConsumerQueue is
    • thread-safe for single producer and single consumer.
    • thread safe for many readers / enumerations
    1. enquue method uses lock when it is full which makes it almost lock-free for inserts.
    2. dequeue uses lock but the producer almost never hit the lock.
    3. Despite this is a FIFO Queue, the enumerator is in LIFO order to optimize record lookup at TryGetFromReadonlySegments. Enqueue/Dequeue items in FIFO order: i1,i2,i3,i4 Enumeration in LIFO order: i4,i3,i2,i1

    Interfaces

    IIndexedReader<TKey, TValue>

    ISeekableIterator<TKey, TValue>

    Enums

    AddOrUpdateResult

    Delegates

    BinarySearchAlgorithms.CompareKeyByIndex

    BinarySearchAlgorithms.KeyByIndex<TKey>

    In This Article
    Back to top Copyright © 2022 Tenray.io