Метод | Описание | |
---|---|---|
GetInstance ( |
Gets the HystrixThreadPoolMetrics instance for a given HystrixThreadPoolKey or null if none exists.
|
|
GetInstance ( |
Gets the HystrixThreadPoolMetrics instance for a given HystrixThreadPoolKey. If no metrics exists for the specified key, a new one will be created from the specified threadPool and setter.
|
|
MarkThreadCompletion ( ) : void |
Marks the completion of a command execution.
|
|
MarkThreadExecution ( ) : void |
Marks the beginning of a command execution.
|
Метод | Описание | |
---|---|---|
HystrixThreadPoolMetrics ( |
Initializes a new instance of the HystrixThreadPoolMetrics class.
|
|
SetMaxActiveThreads ( ) : void |
Records the current number of active threads in the rolling number.
|
public static GetInstance ( |
||
key | Key of the tracked thread pool. | |
Результат |
public static GetInstance ( |
||
key | Key of the tracked thread pool. | |
threadPool | The thread pool executor of the tracked pool. | |
properties | IHystrixThreadPoolProperties | The properties of the tracked pool. |
Результат |