Class RAMFile
Represents a file in RAM as a list of byte[] buffers.
@lucene.internal
Inheritance
System.Object
RAMFile
Assembly: DistributedLucene.Net.dll
Syntax
public class RAMFile : object
Constructors
Name | Description |
---|---|
RAMFile() | File used as buffer, in no RAMDirectory |
RAMFile(RAMDirectory) |
Fields
Name | Description |
---|---|
m_buffers | |
m_sizeInBytes |
Properties
Name | Description |
---|---|
Length | For non-stream access from thread that might be concurrent with writing |
NumBuffers |
Methods
Name | Description |
---|---|
AddBuffer(Int32) | |
GetBuffer(Int32) | |
GetSizeInBytes() | |
NewBuffer(Int32) | Expert: allocate a new buffer. Subclasses can allocate differently. |