Class MMapDirectory.MMapIndexInput
Implements
Inherited Members
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public sealed class MMapDirectory.MMapIndexInput : ByteBufferIndexInput, IDisposable
Methods
Dispose(bool)
Closes the stream to further operations.
Declaration
protected override sealed void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Overrides
FreeBuffer(ByteBuffer)
Try to unmap the buffer, this method silently fails if no support for that in the runtime. On Windows, this leads to the fact, that mmapped files cannot be modified or deleted.
Declaration
protected override void FreeBuffer(ByteBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
ByteBuffer | buffer |