Class BaseDirectory
Base implementation for a concrete Directory.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
BaseDirectory
Implements
System.IDisposable
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.dll
Syntax
public abstract class BaseDirectory : Directory, IDisposable
Constructors
| Improve this Doc View SourceBaseDirectory()
Sole constructor.
Declaration
protected BaseDirectory()
Fields
| Improve this Doc View Sourcem_lockFactory
Holds the LockFactory instance (implements locking for this Directory instance).
Declaration
protected LockFactory m_lockFactory
Field Value
| Type | Description |
|---|---|
| LockFactory |
Properties
| Improve this Doc View SourceIsOpen
Declaration
protected virtual bool IsOpen { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
LockFactory
Declaration
public override LockFactory LockFactory { get; }
Property Value
| Type | Description |
|---|---|
| LockFactory |
Overrides
Methods
| Improve this Doc View SourceClearLock(String)
Declaration
public override void ClearLock(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Overrides
| Improve this Doc View SourceEnsureOpen()
Declaration
protected sealed override void EnsureOpen()
Overrides
| Improve this Doc View SourceMakeLock(String)
Declaration
public override Lock MakeLock(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Returns
| Type | Description |
|---|---|
| Lock |
Overrides
| Improve this Doc View SourceSetLockFactory(LockFactory)
Declaration
public override void SetLockFactory(LockFactory lockFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| LockFactory | lockFactory |
Overrides
Implements
System.IDisposable