C# Class Jellyfish.Commands.Metrics.CommandMetrics

Mostra file Open project: Zenasoft/Jellyfish.Commands Class Usage Examples

Public Methods

Method Description
GetCumulativeCount ( RollingNumberEvent ev ) : long
GetExecutionTimeMean ( ) : int
GetExecutionTimePercentile ( double percentile ) : int
GetRollingCount ( RollingNumberEvent ev ) : long
GetRollingMaxConcurrentExecutions ( ) : long
GetTotalTimeMean ( ) : int
GetTotalTimePercentile ( double percentile ) : int

Private Methods

Method Description
AddCommandExecutionTime ( long duration ) : void
AddUserThreadExecutionTime ( long duration ) : void
CommandMetrics ( [ name, [ commandGroup, [ properties, IClock clock = null ) : Jellyfish.Commands.Utils
DecrementConcurrentExecutionCount ( ) : void
GetHealthCounts ( ) : HealthCounts
IncrementConcurrentExecutionCount ( ) : void
MarkBadRequest ( long duration ) : void
MarkExceptionThrown ( ) : void
MarkFailure ( long duration ) : void
MarkFallbackFailure ( ) : void
MarkFallbackRejection ( ) : void
MarkFallbackSuccess ( ) : void
MarkResponseFromCache ( ) : void
MarkSemaphoreRejection ( ) : void
MarkShortCircuited ( ) : void
MarkSuccess ( long duration ) : void
MarkThreadPoolRejection ( ) : void
MarkTimeout ( long duration ) : void
Reset ( ) : void

Method Details

GetCumulativeCount() public method

public GetCumulativeCount ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
return long

GetExecutionTimeMean() public method

public GetExecutionTimeMean ( ) : int
return int

GetExecutionTimePercentile() public method

public GetExecutionTimePercentile ( double percentile ) : int
percentile double
return int

GetRollingCount() public method

public GetRollingCount ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
return long

GetRollingMaxConcurrentExecutions() public method

public GetRollingMaxConcurrentExecutions ( ) : long
return long

GetTotalTimeMean() public method

public GetTotalTimeMean ( ) : int
return int

GetTotalTimePercentile() public method

public GetTotalTimePercentile ( double percentile ) : int
percentile double
return int