Class HystrixCommandFactory
Inheritance
System.Object
HystrixCommandFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Hystrix.Dotnet
Assembly: Hystrix.Dotnet.dll
Syntax
public class HystrixCommandFactory : IHystrixCommandFactory
Constructors
| Improve this Doc View SourceHystrixCommandFactory(HystrixOptions)
Declaration
public HystrixCommandFactory(HystrixOptions options)
Parameters
Type | Name | Description |
---|---|---|
HystrixOptions | options |
Methods
| Improve this Doc View SourceClear()
Empty the dictionary, for testing purposes; this method is not exposed in the interface
Declaration
public static void Clear()
GetAllHystrixCommands()
Declaration
public ICollection<IHystrixCommand> GetAllHystrixCommands()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<IHystrixCommand> |
GetHystrixCommand(HystrixCommandIdentifier)
Declaration
public IHystrixCommand GetHystrixCommand(HystrixCommandIdentifier commandIdentifier)
Parameters
Type | Name | Description |
---|---|---|
HystrixCommandIdentifier | commandIdentifier |
Returns
Type | Description |
---|---|
IHystrixCommand |
GetHystrixCommand(String, String)
Declaration
public IHystrixCommand GetHystrixCommand(string groupKey, string commandKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupKey | |
System.String | commandKey |
Returns
Type | Description |
---|---|
IHystrixCommand |