Show / Hide Table of Contents

    Class FSLockFactory

    Base class for file system based locking implementation.

    Inheritance
    System.Object
    LockFactory
    FSLockFactory
    NativeFSLockFactory
    SimpleFSLockFactory
    Inherited Members
    LockFactory.m_lockPrefix
    LockFactory.LockPrefix
    LockFactory.MakeLock(String)
    LockFactory.ClearLock(String)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class FSLockFactory : LockFactory

    Fields

    | Improve this Doc View Source

    m_lockDir

    Directory for the lock files.

    Declaration
    protected DirectoryInfo m_lockDir
    Field Value
    Type Description
    DirectoryInfo

    Properties

    | Improve this Doc View Source

    LockDir

    Gets the lock directory.

    Declaration
    public DirectoryInfo LockDir { get; }
    Property Value
    Type Description
    DirectoryInfo

    Methods

    | Improve this Doc View Source

    SetLockDir(DirectoryInfo)

    Set the lock directory. This property can be only called once to initialize the lock directory. It is used by FSDirectory to set the lock directory to itself. Subclasses can also use this property to set the directory in the constructor.

    Declaration
    protected void SetLockDir(DirectoryInfo lockDir)
    Parameters
    Type Name Description
    DirectoryInfo lockDir
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)