Class FakeHystrixCommandFactory
Inheritance
System.Object
FakeHystrixCommandFactory
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 FakeHystrixCommandFactory : IHystrixCommandFactory
Constructors
| Improve this Doc View SourceFakeHystrixCommandFactory(Boolean)
Declaration
public FakeHystrixCommandFactory(bool runFallbackOrThrowException = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | runFallbackOrThrowException |
Methods
| Improve this Doc View SourceGetAllHystrixCommands()
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 |
GetThreadPoolMetrics()
Declaration
public IHystrixThreadPoolMetrics GetThreadPoolMetrics()
Returns
| Type | Description |
|---|---|
| IHystrixThreadPoolMetrics |