Class ExecutionResult
- Namespace
- Steeltoe.CircuitBreaker.Hystrix
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
public class ExecutionResult
- Inheritance
-
ExecutionResult
- Inherited Members
Properties
CollapserKey
public IHystrixCollapserKey CollapserKey { get; }
Property Value
CommandRunStartTimeInNanos
public long CommandRunStartTimeInNanos { get; }
Property Value
ContainsTerminalEvent
public bool ContainsTerminalEvent { get; }
Property Value
Eventcounts
public ExecutionResult.EventCounts Eventcounts { get; }
Property Value
Exception
public Exception Exception { get; }
Property Value
ExecutionException
public Exception ExecutionException { get; }
Property Value
ExecutionLatency
Gets amound of time spent in run() method
public int ExecutionLatency { get; }
Property Value
ExecutionOccurred
public bool ExecutionOccurred { get; }
Property Value
IsExecutedInThread
public bool IsExecutedInThread { get; }
Property Value
IsResponseRejected
public bool IsResponseRejected { get; }
Property Value
IsResponseSemaphoreRejected
public bool IsResponseSemaphoreRejected { get; }
Property Value
IsResponseThreadPoolRejected
public bool IsResponseThreadPoolRejected { get; }
Property Value
OrderedList
public List<HystrixEventType> OrderedList { get; }
Property Value
StartTimestamp
public long StartTimestamp { get; }
Property Value
UserThreadLatency
Gets time elapsed between caller thread submitting request and response being visible to it
public int UserThreadLatency { get; }
Property Value
Methods
AddEvent(HystrixEventType)
public ExecutionResult AddEvent(HystrixEventType eventType)
Parameters
eventType
HystrixEventType
Returns
AddEvent(int, HystrixEventType)
public ExecutionResult AddEvent(int executionLatency, HystrixEventType eventType)
Parameters
executionLatency
inteventType
HystrixEventType
Returns
From(params HystrixEventType[])
public static ExecutionResult From(params HystrixEventType[] eventTypes)
Parameters
eventTypes
HystrixEventType[]
Returns
MarkCollapsed(IHystrixCollapserKey, int)
public ExecutionResult MarkCollapsed(IHystrixCollapserKey collapserKey, int sizeOfBatch)
Parameters
collapserKey
IHystrixCollapserKeysizeOfBatch
int
Returns
MarkUserThreadCompletion(long)
public ExecutionResult MarkUserThreadCompletion(long userThreadLatency)
Parameters
userThreadLatency
long
Returns
SetException(Exception)
public ExecutionResult SetException(Exception e)
Parameters
Returns
SetExecutedInThread()
public ExecutionResult SetExecutedInThread()
Returns
SetExecutionException(Exception)
public ExecutionResult SetExecutionException(Exception executionException)
Parameters
executionException
Exception
Returns
SetExecutionLatency(int)
public ExecutionResult SetExecutionLatency(int executionLatency)
Parameters
executionLatency
int
Returns
SetExecutionOccurred()
public ExecutionResult SetExecutionOccurred()
Returns
SetInvocationStartTime(long)
public ExecutionResult SetInvocationStartTime(long inStartTimestamp)
Parameters
inStartTimestamp
long
Returns
SetNotExecutedInThread()
public ExecutionResult SetNotExecutedInThread()
Returns
ToString()
public override string ToString()