Class HystrixCommandCompletion
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.Metric
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class HystrixCommandCompletion : HystrixCommandEvent, IHystrixEvent
- Inheritance
-
HystrixCommandCompletion
- Implements
-
- Inherited Members
-
Fields
executionResult
protected readonly ExecutionResult executionResult
Field Value
- ExecutionResult
requestContext
protected readonly HystrixRequestContext requestContext
Field Value
- HystrixRequestContext
Properties
DidCommandExecute
public override bool DidCommandExecute { get; }
Property Value
- bool
Eventcounts
public ExecutionResult.EventCounts Eventcounts { get; }
Property Value
- ExecutionResult.EventCounts
ExecutionLatency
public long ExecutionLatency { get; }
Property Value
- long
IsCommandCompletion
public override bool IsCommandCompletion { get; }
Property Value
- bool
IsExecutedInThread
public override bool IsExecutedInThread { get; }
Property Value
- bool
IsExecutionStart
public override bool IsExecutionStart { get; }
Property Value
- bool
IsResponseThreadPoolRejected
public override bool IsResponseThreadPoolRejected { get; }
Property Value
- bool
RequestContext
public HystrixRequestContext RequestContext { get; }
Property Value
- HystrixRequestContext
TotalLatency
public long TotalLatency { get; }
Property Value
- long
Methods
From(ExecutionResult, IHystrixCommandKey, IHystrixThreadPoolKey)
public static HystrixCommandCompletion From(ExecutionResult executionResult, IHystrixCommandKey commandKey, IHystrixThreadPoolKey threadPoolKey)
Parameters
executionResult
ExecutionResult
commandKey
IHystrixCommandKey
threadPoolKey
IHystrixThreadPoolKey
Returns
- HystrixCommandCompletion
From(ExecutionResult, IHystrixCommandKey, IHystrixThreadPoolKey, HystrixRequestContext)
public static HystrixCommandCompletion From(ExecutionResult executionResult, IHystrixCommandKey commandKey, IHystrixThreadPoolKey threadPoolKey, HystrixRequestContext requestContext)
Parameters
executionResult
ExecutionResult
commandKey
IHystrixCommandKey
threadPoolKey
IHystrixThreadPoolKey
requestContext
HystrixRequestContext
Returns
- HystrixCommandCompletion
ToString()
public override string ToString()
Returns
- string