public class com.netflix.hystrix.Hystrix
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.Hystrix
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.ThreadLocal<com.netflix.hystrix.Hystrix$ConcurrentStack<com.netflix.hystrix.HystrixCommandKey>> currentCommand;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ThreadLocal<Lcom/netflix/hystrix/Hystrix$ConcurrentStack<Lcom/netflix/hystrix/HystrixCommandKey;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/netflix/hystrix/Hystrix;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic com.netflix.hystrix.Hystrix.logger:Lorg/slf4j/Logger;
1: new com.netflix.hystrix.Hystrix$1
dup
invokespecial com.netflix.hystrix.Hystrix$1.<init>:()V
putstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/Hystrix;
public static void reset();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic com.netflix.hystrix.HystrixThreadPool$Factory.shutdown:()V
1: invokestatic com.netflix.hystrix.Hystrix._reset:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
public static void reset(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 2 0: lload 0
aload 2
invokestatic com.netflix.hystrix.HystrixThreadPool$Factory.shutdown:(JLjava/util/concurrent/TimeUnit;)V
1: invokestatic com.netflix.hystrix.Hystrix._reset:()V
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 time J
0 3 2 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
time
unit
private static void _reset();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic com.netflix.hystrix.HystrixCommandMetrics.reset:()V
1: invokestatic com.netflix.hystrix.HystrixThreadPoolMetrics.reset:()V
2: invokestatic com.netflix.hystrix.HystrixCollapserMetrics.reset:()V
3: invokestatic com.netflix.hystrix.HystrixCollapser.reset:()V
4: invokestatic com.netflix.hystrix.HystrixCircuitBreaker$Factory.reset:()V
5: invokestatic com.netflix.hystrix.strategy.HystrixPlugins.reset:()V
6: invokestatic com.netflix.hystrix.strategy.properties.HystrixPropertiesFactory.reset:()V
7: getstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
new com.netflix.hystrix.Hystrix$ConcurrentStack
dup
invokespecial com.netflix.hystrix.Hystrix$ConcurrentStack.<init>:()V
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
8: return
LocalVariableTable:
Start End Slot Name Signature
public static com.netflix.hystrix.HystrixCommandKey getCurrentThreadExecutingCommand();
descriptor: ()Lcom/netflix/hystrix/HystrixCommandKey;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack
invokevirtual com.netflix.hystrix.Hystrix$ConcurrentStack.peek:()Ljava/lang/Object;
checkcast com.netflix.hystrix.HystrixCommandKey
areturn
LocalVariableTable:
Start End Slot Name Signature
static rx.functions.Action0 startCurrentThreadExecutingCommand(com.netflix.hystrix.HystrixCommandKey);
descriptor: (Lcom/netflix/hystrix/HystrixCommandKey;)Lrx/functions/Action0;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.netflix.hystrix.Hystrix$ConcurrentStack.push:(Ljava/lang/Object;)V
2: goto 5
StackMap locals: com.netflix.hystrix.HystrixCommandKey com.netflix.hystrix.Hystrix$ConcurrentStack
StackMap stack: java.lang.Exception
3: astore 2
start local 2 4: getstatic com.netflix.hystrix.Hystrix.logger:Lorg/slf4j/Logger;
ldc "Unable to record command starting"
aload 2
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
new com.netflix.hystrix.Hystrix$2
dup
aload 1
invokespecial com.netflix.hystrix.Hystrix$2.<init>:(Lcom/netflix/hystrix/Hystrix$ConcurrentStack;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 key Lcom/netflix/hystrix/HystrixCommandKey;
1 6 1 list Lcom/netflix/hystrix/Hystrix$ConcurrentStack<Lcom/netflix/hystrix/HystrixCommandKey;>;
4 5 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
key
static void endCurrentThreadExecutingCommand();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack
invokestatic com.netflix.hystrix.Hystrix.endCurrentThreadExecutingCommand:(Lcom/netflix/hystrix/Hystrix$ConcurrentStack;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static void endCurrentThreadExecutingCommand(com.netflix.hystrix.Hystrix$ConcurrentStack<com.netflix.hystrix.HystrixCommandKey>);
descriptor: (Lcom/netflix/hystrix/Hystrix$ConcurrentStack;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.netflix.hystrix.Hystrix$ConcurrentStack.isEmpty:()Z
ifne 8
1: aload 0
invokevirtual com.netflix.hystrix.Hystrix$ConcurrentStack.pop:()Ljava/lang/Object;
pop
2: goto 8
StackMap locals:
StackMap stack: java.util.NoSuchElementException
3: astore 1
start local 1 4: getstatic com.netflix.hystrix.Hystrix.logger:Lorg/slf4j/Logger;
ldc "No command found to end."
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 5: goto 8
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 7: getstatic com.netflix.hystrix.Hystrix.logger:Lorg/slf4j/Logger;
ldc "Unable to end command."
aload 1
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 list Lcom/netflix/hystrix/Hystrix$ConcurrentStack<Lcom/netflix/hystrix/HystrixCommandKey;>;
4 5 1 e Ljava/util/NoSuchElementException;
7 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.util.NoSuchElementException
0 2 6 Class java.lang.Exception
Signature: (Lcom/netflix/hystrix/Hystrix$ConcurrentStack<Lcom/netflix/hystrix/HystrixCommandKey;>;)V
MethodParameters:
Name Flags
list
static int getCommandCount();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.netflix.hystrix.Hystrix.currentCommand:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack
invokevirtual com.netflix.hystrix.Hystrix$ConcurrentStack.size:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Hystrix.java"
NestMembers:
com.netflix.hystrix.Hystrix$1 com.netflix.hystrix.Hystrix$2 com.netflix.hystrix.Hystrix$ConcurrentStack com.netflix.hystrix.Hystrix$ConcurrentStack$Node
InnerClasses:
com.netflix.hystrix.Hystrix$1
com.netflix.hystrix.Hystrix$2
private ConcurrentStack = com.netflix.hystrix.Hystrix$ConcurrentStack of com.netflix.hystrix.Hystrix
public Factory = com.netflix.hystrix.HystrixCircuitBreaker$Factory of com.netflix.hystrix.HystrixCircuitBreaker
public Factory = com.netflix.hystrix.HystrixThreadPool$Factory of com.netflix.hystrix.HystrixThreadPool