C# Class Jellyfish.Commands.Metrics.CommandMetrics

Afficher le fichier Open project: Zenasoft/Jellyfish.Commands Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public GetCumulativeCount ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
Résultat long

GetExecutionTimeMean() public méthode

public GetExecutionTimeMean ( ) : int
Résultat int

GetExecutionTimePercentile() public méthode

public GetExecutionTimePercentile ( double percentile ) : int
percentile double
Résultat int

GetRollingCount() public méthode

public GetRollingCount ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
Résultat long

GetRollingMaxConcurrentExecutions() public méthode

public GetRollingMaxConcurrentExecutions ( ) : long
Résultat long

GetTotalTimeMean() public méthode

public GetTotalTimeMean ( ) : int
Résultat int

GetTotalTimePercentile() public méthode

public GetTotalTimePercentile ( double percentile ) : int
percentile double
Résultat int