public class com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable
super_class: java.lang.Object
{
private final java.util.concurrent.Callable<java.lang.Void> actual;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Callable<Ljava/lang/Void;>;
private final com.netflix.hystrix.strategy.concurrency.HystrixRequestContext parentThreadState;
descriptor: Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)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.HystrixContextRunnable.<init>:(Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/netflix/hystrix/strategy/concurrency/HystrixContextRunnable;
0 2 1 actual Ljava/lang/Runnable;
MethodParameters:
Name Flags
actual
public void <init>(com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy, java.lang.Runnable);
descriptor: (Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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 1
new com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable$1
dup
aload 0
aload 2
invokespecial com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable$1.<init>:(Lcom/netflix/hystrix/strategy/concurrency/HystrixContextRunnable;Ljava/lang/Runnable;)V
invokevirtual com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy.wrapCallable:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;
putfield com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable.actual:Ljava/util/concurrent/Callable;
2: aload 0
invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.getContextForCurrentThread:()Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
putfield com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable.parentThreadState:Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/netflix/hystrix/strategy/concurrency/HystrixContextRunnable;
0 4 1 concurrencyStrategy Lcom/netflix/hystrix/strategy/concurrency/HystrixConcurrencyStrategy;
0 4 2 actual Ljava/lang/Runnable;
MethodParameters:
Name Flags
concurrencyStrategy
actual final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.getContextForCurrentThread:()Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
astore 1
start local 1 1: aload 0
getfield com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable.parentThreadState:Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.setContextOnCurrentThread:(Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)V
2: aload 0
getfield com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable.actual:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
pop
3: goto 9
StackMap locals: com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable com.netflix.hystrix.strategy.concurrency.HystrixRequestContext
StackMap stack: java.lang.Exception
4: astore 2
start local 2 5: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
7: aload 1
invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.setContextOnCurrentThread:(Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)V
8: aload 3
athrow
9: StackMap locals:
StackMap stack:
aload 1
invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.setContextOnCurrentThread:(Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/netflix/hystrix/strategy/concurrency/HystrixContextRunnable;
1 11 1 existingState Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
1 6 6 any
}
SourceFile: "HystrixContextRunnable.java"
NestMembers:
com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable$1
InnerClasses:
com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable$1