Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockLockFactoryWrapper

    Used by MockDirectoryWrapper to wrap another factory and track open locks.

    Inheritance
    System.Object
    Lucene.Net.Store.LockFactory
    MockLockFactoryWrapper
    Inherited Members
    Lucene.Net.Store.LockFactory.m_lockPrefix
    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.TestFramework.dll
    Syntax
    public class MockLockFactoryWrapper : LockFactory

    Constructors

    | Improve this Doc View Source

    MockLockFactoryWrapper(MockDirectoryWrapper, LockFactory)

    Declaration
    public MockLockFactoryWrapper(MockDirectoryWrapper dir, LockFactory delegate)
    Parameters
    Type Name Description
    MockDirectoryWrapper dir
    Lucene.Net.Store.LockFactory delegate

    Properties

    | Improve this Doc View Source

    LockPrefix

    Declaration
    public override string LockPrefix { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    Lucene.Net.Store.LockFactory.LockPrefix

    Methods

    | Improve this Doc View Source

    ClearLock(String)

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

    MakeLock(String)

    Declaration
    public override Lock MakeLock(string lockName)
    Parameters
    Type Name Description
    System.String lockName
    Returns
    Type Description
    Lucene.Net.Store.Lock
    Overrides
    Lucene.Net.Store.LockFactory.MakeLock(System.String)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.