Class MockLockFactoryWrapper
Used by MockDirectoryWrapper to wrap another factory and track open locks.
Inherited Members
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 | |
LockFactory | delegate |
Properties
| Improve this Doc View SourceLockPrefix
Declaration
public override string LockPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceClearLock(String)
Declaration
public override void ClearLock(string lockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockName |
Overrides
| Improve this Doc View SourceMakeLock(String)
Declaration
public override Lock MakeLock(string lockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockName |
Returns
Type | Description |
---|---|
Lock |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()