public class LazyCommandExecutionAction extends CommandAction
| Constructor and Description |
|---|
LazyCommandExecutionAction(HystrixCommandFactory<?> commandFactory,
MetaHolder metaHolder,
java.util.Collection<com.netflix.hystrix.HystrixCollapser.CollapsedRequest<java.lang.Object,java.lang.Object>> collapsedRequests) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(ExecutionType executionType)
Executes action in accordance with the given execution type.
|
java.lang.Object |
executeWithArgs(ExecutionType executionType,
java.lang.Object[] args)
Executes action with parameters in accordance with the given execution ty
|
java.lang.String |
getActionName()
Gets action name.
|
MetaHolder |
getMetaHolder() |
public LazyCommandExecutionAction(HystrixCommandFactory<?> commandFactory, MetaHolder metaHolder, java.util.Collection<com.netflix.hystrix.HystrixCollapser.CollapsedRequest<java.lang.Object,java.lang.Object>> collapsedRequests)
public MetaHolder getMetaHolder()
getMetaHolder in class CommandActionpublic java.lang.Object execute(ExecutionType executionType) throws CommandActionExecutionException
execute in class CommandActionexecutionType - the execution typeCommandActionExecutionExceptionpublic java.lang.Object executeWithArgs(ExecutionType executionType, java.lang.Object[] args) throws CommandActionExecutionException
executeWithArgs in class CommandActionexecutionType - the execution typeargs - the parameters of the actionCommandActionExecutionExceptionpublic java.lang.String getActionName()
getActionName in class CommandAction