Show / Hide Table of Contents

    Class MockLockFactoryWrapper

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

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

    Properties

    | Improve this Doc View Source

    LockPrefix

    Declaration
    public override string LockPrefix { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    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
    LockFactory.ClearLock(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
    Lock
    Overrides
    LockFactory.MakeLock(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 © 2020 Licensed to the Apache Software Foundation (ASF)