Show / Hide Table of Contents

    Class BaseDirectory

    Base implementation for a concrete Directory.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    Directory
    BaseDirectory
    CompoundFileDirectory
    FileSwitchDirectory
    FSDirectory
    RAMDirectory
    Inherited Members
    Directory.ListAll()
    Directory.FileExists(String)
    Directory.DeleteFile(String)
    Directory.FileLength(String)
    Directory.CreateOutput(String, IOContext)
    Directory.Sync(ICollection<String>)
    Directory.OpenInput(String, IOContext)
    Directory.OpenChecksumInput(String, IOContext)
    Directory.Dispose()
    Directory.Dispose(Boolean)
    Directory.GetLockID()
    Directory.ToString()
    Directory.Copy(Directory, String, String, IOContext)
    Directory.CreateSlicer(String, IOContext)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class BaseDirectory : Directory

    Constructors

    | Improve this Doc View Source

    BaseDirectory()

    Sole constructor.

    Declaration
    protected BaseDirectory()

    Fields

    | Improve this Doc View Source

    m_lockFactory

    Holds the LockFactory instance (implements locking for this Directory instance).

    Declaration
    protected LockFactory m_lockFactory
    Field Value
    Type Description
    LockFactory

    Properties

    | Improve this Doc View Source

    IsOpen

    Declaration
    protected virtual bool IsOpen { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LockFactory

    Declaration
    public override LockFactory LockFactory { get; }
    Property Value
    Type Description
    LockFactory
    Overrides
    Directory.LockFactory

    Methods

    | Improve this Doc View Source

    ClearLock(String)

    Declaration
    public override void ClearLock(string name)
    Parameters
    Type Name Description
    System.String name
    Overrides
    Directory.ClearLock(String)
    | Improve this Doc View Source

    EnsureOpen()

    Declaration
    protected override sealed void EnsureOpen()
    Overrides
    Directory.EnsureOpen()
    | Improve this Doc View Source

    MakeLock(String)

    Declaration
    public override Lock MakeLock(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    Lock
    Overrides
    Directory.MakeLock(String)
    | Improve this Doc View Source

    SetLockFactory(LockFactory)

    Declaration
    public override void SetLockFactory(LockFactory lockFactory)
    Parameters
    Type Name Description
    LockFactory lockFactory
    Overrides
    Directory.SetLockFactory(LockFactory)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)