public class com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction implements rx.functions.Action0
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction
super_class: java.lang.Object
{
private final rx.functions.Action0 actual;
descriptor: Lrx/functions/Action0;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.netflix.hystrix.strategy.concurrency.HystrixRequestContext parentThreadState;
descriptor: Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.Callable<java.lang.Void> c;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Callable<Ljava/lang/Void;>;
public void <init>(rx.functions.Action0);
descriptor: (Lrx/functions/Action0;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.netflix.hystrix.strategy.HystrixPlugins.getInstance:()Lcom/netflix/hystrix/strategy/HystrixPlugins;
invokevirtual com.netflix.hystrix.strategy.HystrixPlugins.getConcurrencyStrategy:()Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;
aload 1
invokespecial com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.<init>:(Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;Lrx/functions/Action0;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/netflix/hystrix/strategy/concurrency/HystrixContexSchedulerAction;
0 2 1 action Lrx/functions/Action0;
MethodParameters:
Name Flags
action
public void <init>(com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy, rx.functions.Action0);
descriptor: (Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;Lrx/functions/Action0;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.actual:Lrx/functions/Action0;
2: aload 0
invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.getContextForCurrentThread:()Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
putfield com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.parentThreadState:Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
3: aload 0
aload 1
new com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1
dup
aload 0
invokespecial com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.<init>:(Lcom/netflix/hystrix/strategy/concurrency/HystrixContexSchedulerAction;)V
invokevirtual com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy.wrapCallable:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;
putfield com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.c:Ljava/util/concurrent/Callable;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/netflix/hystrix/strategy/concurrency/HystrixContexSchedulerAction;
0 5 1 concurrencyStrategy Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;
0 5 2 action Lrx/functions/Action0;
MethodParameters:
Name Flags
concurrencyStrategy final
action
public void call();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.c:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
ldc "Failed executing wrapped Action0"
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/netflix/hystrix/strategy/concurrency/HystrixContexSchedulerAction;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
}
SourceFile: "HystrixContexSchedulerAction.java"
NestMembers:
com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1
InnerClasses:
com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1