C# Class MemoScope.Core.Cache.ClrDumpCache

Exibir arquivo Open project: fremag/MemoScope.Net

Private Properties

Property Type Description
CreateIndices void
CreateTables void
Destroy void
Dispose void
GetStats string
Open void
RunCommand void
StoreData void

Public Methods

Method Description
BeginUpdate ( ) : void
ClrDumpCache ( ClrDump clrDump ) : Microsoft.Diagnostics.Runtime
CountInstances ( int typeId ) : int
CountReferers ( ulong instanceAddress ) : int
EndUpdate ( ) : void
EnumerateInstances ( int typeId ) : IEnumerable
EnumerateReferers ( ulong instanceAddress ) : IEnumerable
GetCachePath ( string dumpFileName ) : string
GetTypeId ( string name ) : int
GetTypeName ( int id ) : string
Init ( CancellationToken token ) : void
InsertInstances ( int typeId, ulong address ) : void
InsertReferences ( ulong instanceAddress, ulong refByAddress ) : void
InsertTypeStat ( ClrTypeStats stats ) : void
LoadInstances ( int typeId ) : List
LoadReferers ( ulong instanceAddress ) : List
LoadTypeStat ( ) : List

Private Methods

Method Description
CreateIndices ( ) : void
CreateTables ( ) : void
Destroy ( ) : void
Dispose ( ) : void
GetStats ( ) : string
Open ( string dbPath ) : void
RunCommand ( string sql ) : void
StoreData ( CancellationToken token ) : void

Method Details

BeginUpdate() public method

public BeginUpdate ( ) : void
return void

ClrDumpCache() public method

public ClrDumpCache ( ClrDump clrDump ) : Microsoft.Diagnostics.Runtime
clrDump ClrDump
return Microsoft.Diagnostics.Runtime

CountInstances() public method

public CountInstances ( int typeId ) : int
typeId int
return int

CountReferers() public method

public CountReferers ( ulong instanceAddress ) : int
instanceAddress ulong
return int

EndUpdate() public method

public EndUpdate ( ) : void
return void

EnumerateInstances() public method

public EnumerateInstances ( int typeId ) : IEnumerable
typeId int
return IEnumerable

EnumerateReferers() public method

public EnumerateReferers ( ulong instanceAddress ) : IEnumerable
instanceAddress ulong
return IEnumerable

GetCachePath() public static method

public static GetCachePath ( string dumpFileName ) : string
dumpFileName string
return string

GetTypeId() public method

public GetTypeId ( string name ) : int
name string
return int

GetTypeName() public method

public GetTypeName ( int id ) : string
id int
return string

Init() public method

public Init ( CancellationToken token ) : void
token System.Threading.CancellationToken
return void

InsertInstances() public method

public InsertInstances ( int typeId, ulong address ) : void
typeId int
address ulong
return void

InsertReferences() public method

public InsertReferences ( ulong instanceAddress, ulong refByAddress ) : void
instanceAddress ulong
refByAddress ulong
return void

InsertTypeStat() public method

public InsertTypeStat ( ClrTypeStats stats ) : void
stats ClrTypeStats
return void

LoadInstances() public method

public LoadInstances ( int typeId ) : List
typeId int
return List

LoadReferers() public method

public LoadReferers ( ulong instanceAddress ) : List
instanceAddress ulong
return List

LoadTypeStat() public method

public LoadTypeStat ( ) : List
return List