
public class HystrixCommandCompletion extends HystrixCommandEvent
HystrixEventType).| Modifier and Type | Field and Description |
|---|---|
protected ExecutionResult |
executionResult |
protected HystrixRequestContext |
requestContext |
filterActualExecutions, filterCompletionsOnly| Modifier and Type | Method and Description |
|---|---|
boolean |
didCommandExecute() |
static HystrixCommandCompletion |
from(ExecutionResult executionResult,
HystrixCommandKey commandKey,
HystrixThreadPoolKey threadPoolKey) |
static HystrixCommandCompletion |
from(ExecutionResult executionResult,
HystrixCommandKey commandKey,
HystrixThreadPoolKey threadPoolKey,
HystrixRequestContext requestContext) |
ExecutionResult.EventCounts |
getEventCounts() |
long |
getExecutionLatency() |
HystrixRequestContext |
getRequestContext() |
long |
getTotalLatency() |
boolean |
isCommandCompletion() |
boolean |
isExecutedInThread() |
boolean |
isExecutionStart() |
boolean |
isResponseThreadPoolRejected() |
java.lang.String |
toString() |
getCommandKey, getThreadPoolKeyprotected final ExecutionResult executionResult
protected final HystrixRequestContext requestContext
public static HystrixCommandCompletion from(ExecutionResult executionResult, HystrixCommandKey commandKey, HystrixThreadPoolKey threadPoolKey)
public static HystrixCommandCompletion from(ExecutionResult executionResult, HystrixCommandKey commandKey, HystrixThreadPoolKey threadPoolKey, HystrixRequestContext requestContext)
public boolean isResponseThreadPoolRejected()
isResponseThreadPoolRejected in class HystrixCommandEventpublic boolean isExecutionStart()
isExecutionStart in class HystrixCommandEventpublic boolean isExecutedInThread()
isExecutedInThread in class HystrixCommandEventpublic boolean isCommandCompletion()
isCommandCompletion in class HystrixCommandEventpublic HystrixRequestContext getRequestContext()
public ExecutionResult.EventCounts getEventCounts()
public long getExecutionLatency()
public long getTotalLatency()
public boolean didCommandExecute()
didCommandExecute in class HystrixCommandEventpublic java.lang.String toString()
toString in class java.lang.Object