C# Class SenseNet.ContentRepository.CounterManager

Show file Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
CreateCategory System.Diagnostics.PerformanceCounterCategory
GetCounter SenseNetPerformanceCounter
Initialize void

Public Methods

Method Description
Decrement ( string counterName ) : void
Increment ( string counterName ) : void
IncrementBy ( string counterName, long value ) : void
Reset ( string counterName ) : void
SetRawValue ( string counterName, long value ) : void
Start ( ) : void

Private Methods

Method Description
CreateCategory ( ) : System.Diagnostics.PerformanceCounterCategory
GetCounter ( string counterName ) : SenseNetPerformanceCounter
Initialize ( ) : void

Method Details

Decrement() public static method

public static Decrement ( string counterName ) : void
counterName string
return void

Increment() public static method

public static Increment ( string counterName ) : void
counterName string
return void

IncrementBy() public static method

public static IncrementBy ( string counterName, long value ) : void
counterName string
value long
return void

Reset() public static method

public static Reset ( string counterName ) : void
counterName string
return void

SetRawValue() public static method

public static SetRawValue ( string counterName, long value ) : void
counterName string
value long
return void

Start() public static method

public static Start ( ) : void
return void