C# Класс Volante.TypeMemoryUsage

Information about memory usage for one type. Instances of this class are created by IDatabase.GetMemoryUsage method. Size of internal database structures (object index,* memory allocation bitmap) is associated with Database class. Size of class descriptors - with System.Type class.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AllocatedSize long
Count int
TotalSize long
Type Type

Открытые методы

Метод Описание
TypeMemoryUsage ( Type type ) : System

TypeMemoryUsage constructor

Описание методов

TypeMemoryUsage() публичный Метод

TypeMemoryUsage constructor
public TypeMemoryUsage ( Type type ) : System
type Type
Результат System

Описание свойств

AllocatedSize публичное свойство

Real allocated size of all instances. Database allocates space for th objects using quantums, for example object wilth size 25 bytes will use 32 bytes in the db. In item associated with Database class this field contains size of all allocated space in the database (marked as used in bitmap)
public long AllocatedSize
Результат long

Count публичное свойство

Number of reachable instance of the particular class in the database.
public int Count
Результат int

TotalSize публичное свойство

Total size of all reachable instances
public long TotalSize
Результат long

Type публичное свойство

Class of persistent object or Database for database internal data
public Type Type
Результат Type