Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
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)
 

Properties

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
Parameters
clazza primitive Class - bool, byte, char, short, long, float, short, double, int
Returns
the size in bytes of given primitive Class

Property Documentation

abstract int Lucene.Net.Util.MemoryModel.ArraySize
get

size of array beyond contents

Definition at line 29 of file MemoryModel.cs.

abstract int Lucene.Net.Util.MemoryModel.ClassSize
get

Class size overhead

Definition at line 32 of file MemoryModel.cs.

abstract int Lucene.Net.Util.MemoryModel.ReferenceSize
get

size of reference

Definition at line 42 of file MemoryModel.cs.


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