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
파일 보기 프로젝트 열기: Elders/Hystrix.NET 1 사용 예제들

공개 메소드들

메소드 설명
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