R
- Type of return value from the commandpublic class ScriptModuleExecutionCommand<R>
extends com.netflix.hystrix.HystrixCommand<R>
ScriptModuleExecutable
s.
This provide limited sandboxing to script execution in terms of running time. It also provides basic statistics
about script execution counts and latencies.Constructor and Description |
---|
ScriptModuleExecutionCommand(java.lang.String moduleExecutorId,
ScriptModuleExecutable<R> executable,
ScriptModule module) |
Modifier and Type | Method and Description |
---|---|
protected R |
run() |
decomposeException, execute, getCacheKey, getCommandGroup, getCommandKey, getExecutionEvents, getExecutionTimeInMilliseconds, getFailedExecutionException, getFallback, getMetrics, getProperties, getThreadPoolKey, isCircuitBreakerOpen, isExecutedInThread, isExecutionComplete, isFailedExecution, isResponseFromCache, isResponseFromFallback, isResponseRejected, isResponseShortCircuited, isResponseTimedOut, isSuccessfulExecution, observe, queue, toObservable, toObservable
public ScriptModuleExecutionCommand(java.lang.String moduleExecutorId, ScriptModuleExecutable<R> executable, ScriptModule module)