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 SourceMockLockFactoryWrapper(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 SourceLockPrefix
Declaration
public override string LockPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Lucene.Net.Store.LockFactory.LockPrefix
Methods
| Improve this Doc View SourceClearLock(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()