Class ExecutionResult
Inheritance
System.Object
ExecutionResult
Assembly: Steeltoe.CircuitBreaker.HystrixBase.dll
Syntax
public class ExecutionResult : object
Properties
|
Edit this page
View Source
CollapserKey
Declaration
public IHystrixCollapserKey CollapserKey { get; }
Property Value
|
Edit this page
View Source
CommandRunStartTimeInNanos
Declaration
public long CommandRunStartTimeInNanos { get; }
Property Value
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
ContainsTerminalEvent
Declaration
public bool ContainsTerminalEvent { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Eventcounts
Declaration
public ExecutionResult.EventCounts Eventcounts { get; }
Property Value
|
Edit this page
View Source
Exception
Declaration
public Exception Exception { get; }
Property Value
Type |
Description |
Exception |
|
|
Edit this page
View Source
ExecutionException
Declaration
public Exception ExecutionException { get; }
Property Value
Type |
Description |
Exception |
|
|
Edit this page
View Source
ExecutionLatency
Gets amound of time spent in run() method
Declaration
public int ExecutionLatency { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ExecutionOccurred
Declaration
public bool ExecutionOccurred { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsExecutedInThread
Declaration
public bool IsExecutedInThread { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsResponseRejected
Declaration
public bool IsResponseRejected { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsResponseSemaphoreRejected
Declaration
public bool IsResponseSemaphoreRejected { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsResponseThreadPoolRejected
Declaration
public bool IsResponseThreadPoolRejected { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
OrderedList
Declaration
public List<HystrixEventType> OrderedList { get; }
Property Value
|
Edit this page
View Source
StartTimestamp
Declaration
public long StartTimestamp { get; }
Property Value
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
UserThreadLatency
Gets time elapsed between caller thread submitting request and response being visible to it
Declaration
public int UserThreadLatency { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
AddEvent(HystrixEventType)
Declaration
public ExecutionResult AddEvent(HystrixEventType eventType)
Parameters
Returns
|
Edit this page
View Source
AddEvent(Int32, HystrixEventType)
Declaration
public ExecutionResult AddEvent(int executionLatency, HystrixEventType eventType)
Parameters
Returns
|
Edit this page
View Source
From(HystrixEventType[])
Declaration
public static ExecutionResult From(params HystrixEventType[] eventTypes)
Parameters
Returns
|
Edit this page
View Source
MarkCollapsed(IHystrixCollapserKey, Int32)
Declaration
public ExecutionResult MarkCollapsed(IHystrixCollapserKey collapserKey, int sizeOfBatch)
Parameters
Returns
|
Edit this page
View Source
MarkUserThreadCompletion(Int64)
Declaration
public ExecutionResult MarkUserThreadCompletion(long userThreadLatency)
Parameters
Type |
Name |
Description |
System.Int64 |
userThreadLatency |
|
Returns
|
Edit this page
View Source
SetException(Exception)
Declaration
public ExecutionResult SetException(Exception e)
Parameters
Type |
Name |
Description |
Exception |
e |
|
Returns
|
Edit this page
View Source
SetExecutedInThread()
Declaration
public ExecutionResult SetExecutedInThread()
Returns
|
Edit this page
View Source
SetExecutionException(Exception)
Declaration
public ExecutionResult SetExecutionException(Exception executionException)
Parameters
Type |
Name |
Description |
Exception |
executionException |
|
Returns
|
Edit this page
View Source
SetExecutionLatency(Int32)
Declaration
public ExecutionResult SetExecutionLatency(int executionLatency)
Parameters
Type |
Name |
Description |
System.Int32 |
executionLatency |
|
Returns
|
Edit this page
View Source
SetExecutionOccurred()
Declaration
public ExecutionResult SetExecutionOccurred()
Returns
|
Edit this page
View Source
SetInvocationStartTime(Int64)
Declaration
public ExecutionResult SetInvocationStartTime(long inStartTimestamp)
Parameters
Type |
Name |
Description |
System.Int64 |
inStartTimestamp |
|
Returns
|
Edit this page
View Source
SetNotExecutedInThread()
Declaration
public ExecutionResult SetNotExecutedInThread()
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|