Show / Hide Table of Contents

    Class MockLockFactoryWrapper

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

    Inheritance
    System.Object
    MockLockFactoryWrapper
    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
    LockFactory delegate

    Properties

    | Improve this Doc View Source

    LockPrefix

    Declaration
    public override string LockPrefix { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    ClearLock(String)

    Declaration
    public override void ClearLock(string lockName)
    Parameters
    Type Name Description
    System.String lockName
    | 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
    | 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)