C# Class 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.
Inheritance: HystrixKey
Afficher le fichier Open project: Elders/Hystrix.NET Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
GetDefaultNameForCommandType ( Type commandType ) : string

Gets the default name for a command type.

Method Details

HystrixCommandKey() public méthode

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.
Résultat System

HystrixCommandKey() public méthode

Initializes a new instance of the HystrixCommandKey class.
public HystrixCommandKey ( string name ) : System
name string The name of the command key.
Résultat System