Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Protected Attributes | Properties | List of all members
Lucene.Net.Store.RAMFile Class Reference

Inherited by Lucene.Net.Index.DocumentsWriter.PerDocBuffer.

Public Member Functions

 RAMFile ()
 RAMFile (RAMDirectory directory)
byte[] GetBuffer (int index)
int NumBuffers ()
virtual byte[] NewBuffer (int size)
 Expert: allocate a new buffer. Subclasses can allocate differently.

Protected Attributes

< byte[]> 
buffers = new System.Collections.Generic.List<byte[]>()


virtual long SizeInBytes [get]

Detailed Description

Definition at line 24 of file RAMFile.cs.

Constructor & Destructor Documentation

Lucene.Net.Store.RAMFile.RAMFile ( )

Definition at line 38 of file RAMFile.cs.

Lucene.Net.Store.RAMFile.RAMFile ( RAMDirectory  directory)

Definition at line 42 of file RAMFile.cs.

Member Function Documentation

byte [] Lucene.Net.Store.RAMFile.GetBuffer ( int  index)

Definition at line 107 of file RAMFile.cs.

virtual byte [] Lucene.Net.Store.RAMFile.NewBuffer ( int  size)

Expert: allocate a new buffer. Subclasses can allocate differently.

sizesize of allocated buffer.
allocated buffer.

Definition at line 130 of file RAMFile.cs.

int Lucene.Net.Store.RAMFile.NumBuffers ( )

Definition at line 115 of file RAMFile.cs.

Member Data Documentation

System.Collections.Generic.List<byte[]> Lucene.Net.Store.RAMFile.buffers = new System.Collections.Generic.List<byte[]>()

Definition at line 29 of file RAMFile.cs.

Property Documentation

virtual long Lucene.Net.Store.RAMFile.SizeInBytes

Definition at line 137 of file RAMFile.cs.

The documentation for this class was generated from the following file: