Search Results for

    Show / Hide Table of Contents

    Class RandomAccessDeviceManager

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

    Constructors

    | Improve this Doc View Source

    RandomAccessDeviceManager(ILogger, IFileStreamProvider, string)

    Declaration
    public RandomAccessDeviceManager(ILogger logger, IFileStreamProvider fileStreamProvider, string dataDirectory = "data")
    Parameters
    Type Name Description
    ILogger logger
    IFileStreamProvider fileStreamProvider
    string dataDirectory

    Properties

    | Improve this Doc View Source

    DeviceCount

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

    FileStreamProvider

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

    Logger

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

    ReadOnlyDeviceCount

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

    WritableDeviceCount

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

    Methods

    | Improve this Doc View Source

    CloseAllDevices()

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

    CreateWritableDevice(long, string, bool, int, bool, bool, CompressionMethod, int)

    Declaration
    public IRandomAccessDevice CreateWritableDevice(long segmentId, string category, bool isCompressed, int compressionBlockSize, bool deleteIfExists, bool backupIfDelete, CompressionMethod compressionMethod, int compressionLevel)
    Parameters
    Type Name Description
    long segmentId
    string category
    bool isCompressed
    int compressionBlockSize
    bool deleteIfExists
    bool backupIfDelete
    CompressionMethod compressionMethod
    int compressionLevel
    Returns
    Type Description
    IRandomAccessDevice
    | Improve this Doc View Source

    DeleteDevice(long, string, bool)

    Declaration
    public void DeleteDevice(long segmentId, string category, bool isCompressed)
    Parameters
    Type Name Description
    long segmentId
    string category
    bool isCompressed
    | Improve this Doc View Source

    DeviceExists(long, string, bool)

    Declaration
    public bool DeviceExists(long segmentId, string category, bool isCompressed)
    Parameters
    Type Name Description
    long segmentId
    string category
    bool isCompressed
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    DropStore()

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

    GetDevices()

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

    GetFilePath(long, string)

    Declaration
    public string GetFilePath(long segmentId, string category)
    Parameters
    Type Name Description
    long segmentId
    string category
    Returns
    Type Description
    string
    | Improve this Doc View Source

    GetReadOnlyDevice(long, string, bool, int, CompressionMethod, int)

    Declaration
    public IRandomAccessDevice GetReadOnlyDevice(long segmentId, string category, bool isCompressed, int compressionBlockSize, CompressionMethod compressionMethod, int compressionLevel)
    Parameters
    Type Name Description
    long segmentId
    string category
    bool isCompressed
    int compressionBlockSize
    CompressionMethod compressionMethod
    int compressionLevel
    Returns
    Type Description
    IRandomAccessDevice
    | Improve this Doc View Source

    GetReadOnlyDevices()

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

    GetWritableDevices()

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

    RemoveReadOnlyDevice(long, string)

    Declaration
    public void RemoveReadOnlyDevice(long segmentId, string category)
    Parameters
    Type Name Description
    long segmentId
    string category
    | Improve this Doc View Source

    RemoveWritableDevice(long, string)

    Declaration
    public void RemoveWritableDevice(long segmentId, string category)
    Parameters
    Type Name Description
    long segmentId
    string category

    Implements

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