C# Class Lucene.Net.Store.MMapDirectory.MMapIndexInput

Inheritance: Lucene.Net.Store.ByteBufferIndexInput
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
Dispose ( ) : void

Protected Methods

Method Description
FreeBuffer ( ByteBuffer buffer ) : void

Try to unmap the buffer, this method silently fails if no support for that in the JVM. On Windows, this leads to the fact, that mmapped files cannot be modified or deleted.

Private Methods

Method Description
MMapIndexInput ( MMapDirectory outerInstance, string resourceDescription, FileStream fc ) : System

Method Details

Dispose() public final method

public final Dispose ( ) : void
return void

FreeBuffer() protected method

Try to unmap the buffer, this method silently fails if no support for that in the JVM. On Windows, this leads to the fact, that mmapped files cannot be modified or deleted.
protected FreeBuffer ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void