Show / Hide Table of Contents

    Class NoLockFactory

    Use this LockFactory to disable locking entirely. Only one instance of this lock is created. You should call GetNoLockFactory() to get the instance.

    Inheritance
    System.Object
    LockFactory
    NoLockFactory
    Inherited Members
    LockFactory.m_lockPrefix
    LockFactory.LockPrefix
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class NoLockFactory : LockFactory

    Methods

    | Improve this Doc View Source

    ClearLock(String)

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

    GetNoLockFactory()

    Declaration
    public static NoLockFactory GetNoLockFactory()
    Returns
    Type Description
    NoLockFactory
    | Improve this Doc View Source

    MakeLock(String)

    Declaration
    public override Lock MakeLock(string lockName)
    Parameters
    Type Name Description
    System.String lockName
    Returns
    Type Description
    Lock
    Overrides
    LockFactory.MakeLock(String)

    See Also

    LockFactory
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)