Fork me on GitHub
  • API

    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
    Implements
    System.IDisposable
    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)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class BaseDirectory : Directory, IDisposable

    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)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.