C# Класс Elders.Hystrix.NET.HystrixCommandKey

An immutable key to represent a HystrixCommand for monitoring, circuit-breakers, metrics publishing, caching and other such uses. Command keys are equal if their names are equal with ordinal string comparison.
Наследование: HystrixKey
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
HystrixCommandKey ( Type commandType ) : System

Initializes a new instance of the HystrixCommandKey class based on the type of the command. This used to create default command keys for unnamed commands.

HystrixCommandKey ( string name ) : System

Initializes a new instance of the HystrixCommandKey class.

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

Метод Описание
GetDefaultNameForCommandType ( Type commandType ) : string

Gets the default name for a command type.

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

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

Initializes a new instance of the HystrixCommandKey class based on the type of the command. This used to create default command keys for unnamed commands.
public HystrixCommandKey ( Type commandType ) : System
commandType System.Type The type of the command.
Результат System

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

Initializes a new instance of the HystrixCommandKey class.
public HystrixCommandKey ( string name ) : System
name string The name of the command key.
Результат System