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 | Properties | List of all members
Lucene.Net.Util.MemoryModel Class Referenceabstract

Returns primitive memory sizes for estimating RAM usage. More...

Inherited by Lucene.Net.Util.AverageGuessMemoryModel.

Public Member Functions

abstract int GetPrimitiveSize (System.Type clazz)


abstract int ArraySize [get]
 size of array beyond contents
abstract int ClassSize [get]
 Class size overhead
abstract int ReferenceSize [get]
 size of reference

Detailed Description

Returns primitive memory sizes for estimating RAM usage.

Definition at line 26 of file MemoryModel.cs.

Member Function Documentation

abstract int Lucene.Net.Util.MemoryModel.GetPrimitiveSize ( System.Type  clazz)
pure virtual
clazza primitive Class - bool, byte, char, short, long, float, short, double, int
the size in bytes of given primitive Class

Property Documentation

abstract int Lucene.Net.Util.MemoryModel.ArraySize

size of array beyond contents

Definition at line 29 of file MemoryModel.cs.

abstract int Lucene.Net.Util.MemoryModel.ClassSize

Class size overhead

Definition at line 32 of file MemoryModel.cs.

abstract int Lucene.Net.Util.MemoryModel.ReferenceSize

size of reference

Definition at line 42 of file MemoryModel.cs.

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