C# Class AppMetrics.Client.Tracker

Inheritance: TrackerBase
Datei anzeigen Open project: fandrei/AppMetrics Class Usage Examples

Private Properties

Property Type Description
AddMessage void
BuildPacket void
CountNewRequest void
Escape string
GetMonoRuntimeVersion string
LoggingThreadEntry void
ReportPeriodicInfo void
ReportPeriodicInfoAllSessions void
ReportSystemInfo void
SendAllMessages void
SendMessages void
SendPacket void
ToMegabytes ulong
Tracker System
Tracker System

Public Methods

Method Description
Create ( string url, string applicationKey, string accessKey ) : Tracker
Dispose ( ) : void
FlushMessages ( ) : void
GetServedRequestsCount ( ) : long
Log ( string name, string val, MessagePriority priority = MessagePriority.Low ) : void
Terminate ( bool waitAll = false ) : void

Private Methods

Method Description
AddMessage ( string name, string val, MessagePriority priority ) : void
BuildPacket ( ) : void
CountNewRequest ( ) : void
Escape ( string val ) : string
GetMonoRuntimeVersion ( ) : string
LoggingThreadEntry ( ) : void
ReportPeriodicInfo ( ) : void
ReportPeriodicInfoAllSessions ( ) : void
ReportSystemInfo ( ) : void
SendAllMessages ( ) : void
SendMessages ( ) : void
SendPacket ( string url, string accessKey, string appKey, string packet ) : void
ToMegabytes ( ulong val ) : ulong
Tracker ( ) : System
Tracker ( string url, string applicationKey, string accessKey ) : System

Method Details

Create() public static method

public static Create ( string url, string applicationKey, string accessKey ) : Tracker
url string
applicationKey string
accessKey string
return Tracker

Dispose() public method

public Dispose ( ) : void
return void

FlushMessages() public method

public FlushMessages ( ) : void
return void

GetServedRequestsCount() public static method

public static GetServedRequestsCount ( ) : long
return long

Log() public method

public Log ( string name, string val, MessagePriority priority = MessagePriority.Low ) : void
name string
val string
priority MessagePriority
return void

Terminate() public static method

public static Terminate ( bool waitAll = false ) : void
waitAll bool
return void