C# Класс Jellyfish.Commands.Metrics.CommandMetrics

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetCumulativeCount ( RollingNumberEvent ev ) : long
GetExecutionTimeMean ( ) : int
GetExecutionTimePercentile ( double percentile ) : int
GetRollingCount ( RollingNumberEvent ev ) : long
GetRollingMaxConcurrentExecutions ( ) : long
GetTotalTimeMean ( ) : int
GetTotalTimePercentile ( double percentile ) : int

Приватные методы

Метод Описание
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

Описание методов

GetCumulativeCount() публичный Метод

public GetCumulativeCount ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
Результат long

GetExecutionTimeMean() публичный Метод

public GetExecutionTimeMean ( ) : int
Результат int

GetExecutionTimePercentile() публичный Метод

public GetExecutionTimePercentile ( double percentile ) : int
percentile double
Результат int

GetRollingCount() публичный Метод

public GetRollingCount ( RollingNumberEvent ev ) : long
ev RollingNumberEvent
Результат long

GetRollingMaxConcurrentExecutions() публичный Метод

public GetRollingMaxConcurrentExecutions ( ) : long
Результат long

GetTotalTimeMean() публичный Метод

public GetTotalTimeMean ( ) : int
Результат int

GetTotalTimePercentile() публичный Метод

public GetTotalTimePercentile ( double percentile ) : int
percentile double
Результат int