public class CommandExecutor
extends java.lang.Object
HystrixExecutable for specified execution type:
ExecutionType.SYNCHRONOUS -> HystrixExecutable.execute()
ExecutionType.ASYNCHRONOUS -> HystrixExecutable.queue()
ExecutionType.OBSERVABLE -> HystrixExecutable.observe().| Constructor and Description |
|---|
CommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
execute(com.netflix.hystrix.HystrixExecutable executable,
ExecutionType executionType)
Calls a method of
HystrixExecutable in accordance with specified execution type. |
public static java.lang.Object execute(com.netflix.hystrix.HystrixExecutable executable,
ExecutionType executionType)
throws java.lang.RuntimeException
HystrixExecutable in accordance with specified execution type.executable - HystrixExecutableexecutionType - ExecutionTypejava.lang.RuntimeException