class com.netflix.hystrix.AbstractCommand$22 implements rx.functions.Func1<java.lang.Throwable, rx.Observable<R>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.netflix.hystrix.AbstractCommand$22
super_class: java.lang.Object
{
final com.netflix.hystrix.AbstractCommand this$0;
descriptor: Lcom/netflix/hystrix/AbstractCommand;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Exception val$originalException;
descriptor: Ljava/lang/Exception;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.netflix.hystrix.exception.HystrixRuntimeException$FailureType val$failureType;
descriptor: Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.netflix.hystrix.AbstractCommand val$_cmd;
descriptor: Lcom/netflix/hystrix/AbstractCommand;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$message;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.netflix.hystrix.AbstractCommand, java.lang.Exception, com.netflix.hystrix.exception.HystrixRuntimeException$FailureType, com.netflix.hystrix.AbstractCommand, java.lang.String);
descriptor: (Lcom/netflix/hystrix/AbstractCommand;Ljava/lang/Exception;Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;Lcom/netflix/hystrix/AbstractCommand;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 0: aload 0
aload 1
putfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
aload 0
aload 2
putfield com.netflix.hystrix.AbstractCommand$22.val$originalException:Ljava/lang/Exception;
aload 0
aload 3
putfield com.netflix.hystrix.AbstractCommand$22.val$failureType:Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
aload 0
aload 4
putfield com.netflix.hystrix.AbstractCommand$22.val$_cmd:Lcom/netflix/hystrix/AbstractCommand;
aload 0
aload 5
putfield com.netflix.hystrix.AbstractCommand$22.val$message:Ljava/lang/String;
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/AbstractCommand$22;
MethodParameters:
Name Flags
this$0 final
val$originalException final
val$failureType final
val$_cmd final
val$message final
public rx.Observable<R> call(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lrx/Observable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$originalException:Ljava/lang/Exception;
astore 2
start local 2 1: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
aload 1
invokevirtual com.netflix.hystrix.AbstractCommand.getExceptionFromThrowable:(Ljava/lang/Throwable;)Ljava/lang/Exception;
astore 3
start local 3 2: aload 3
instanceof java.lang.UnsupportedOperationException
ifeq 9
3: invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getStartTimestamp:()J
lsub
lstore 4
start local 4 4: getstatic com.netflix.hystrix.AbstractCommand.logger:Lorg/slf4j/Logger;
ldc "No fallback for HystrixCommand. "
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
5: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.eventNotifier:Lcom/netflix/hystrix/strategy/eventnotifier/HystrixEventNotifier;
getstatic com.netflix.hystrix.HystrixEventType.FALLBACK_MISSING:Lcom/netflix/hystrix/HystrixEventType;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.commandKey:Lcom/netflix/hystrix/HystrixCommandKey;
invokevirtual com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier.markEvent:(Lcom/netflix/hystrix/HystrixEventType;Lcom/netflix/hystrix/HystrixCommandKey;)V
6: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.executionResult:Lcom/netflix/hystrix/ExecutionResult;
lload 4
l2i
getstatic com.netflix.hystrix.HystrixEventType.FALLBACK_MISSING:Lcom/netflix/hystrix/HystrixEventType;
invokevirtual com.netflix.hystrix.ExecutionResult.addEvent:(ILcom/netflix/hystrix/HystrixEventType;)Lcom/netflix/hystrix/ExecutionResult;
putfield com.netflix.hystrix.AbstractCommand.executionResult:Lcom/netflix/hystrix/ExecutionResult;
7: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$failureType:Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
aload 2
invokevirtual com.netflix.hystrix.AbstractCommand.wrapWithOnErrorHook:(Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;Ljava/lang/Throwable;)Ljava/lang/Exception;
astore 2
8: new com.netflix.hystrix.exception.HystrixRuntimeException
dup
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$failureType:Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$_cmd:Lcom/netflix/hystrix/AbstractCommand;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
new java.lang.StringBuilder
dup
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
invokevirtual com.netflix.hystrix.AbstractCommand.getLogMessagePrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$message:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " and no fallback available."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
aload 3
invokespecial com.netflix.hystrix.exception.HystrixRuntimeException.<init>:(Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/Throwable;)V
invokestatic rx.Observable.error:(Ljava/lang/Throwable;)Lrx/Observable;
areturn
end local 4 9: StackMap locals: java.lang.Exception java.lang.Exception
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getStartTimestamp:()J
lsub
lstore 4
start local 4 10: getstatic com.netflix.hystrix.AbstractCommand.logger:Lorg/slf4j/Logger;
new java.lang.StringBuilder
dup
ldc "HystrixCommand execution "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$failureType:Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
invokevirtual com.netflix.hystrix.exception.HystrixRuntimeException$FailureType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " and fallback failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.eventNotifier:Lcom/netflix/hystrix/strategy/eventnotifier/HystrixEventNotifier;
getstatic com.netflix.hystrix.HystrixEventType.FALLBACK_FAILURE:Lcom/netflix/hystrix/HystrixEventType;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.commandKey:Lcom/netflix/hystrix/HystrixCommandKey;
invokevirtual com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier.markEvent:(Lcom/netflix/hystrix/HystrixEventType;Lcom/netflix/hystrix/HystrixCommandKey;)V
12: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
getfield com.netflix.hystrix.AbstractCommand.executionResult:Lcom/netflix/hystrix/ExecutionResult;
lload 4
l2i
getstatic com.netflix.hystrix.HystrixEventType.FALLBACK_FAILURE:Lcom/netflix/hystrix/HystrixEventType;
invokevirtual com.netflix.hystrix.ExecutionResult.addEvent:(ILcom/netflix/hystrix/HystrixEventType;)Lcom/netflix/hystrix/ExecutionResult;
putfield com.netflix.hystrix.AbstractCommand.executionResult:Lcom/netflix/hystrix/ExecutionResult;
13: aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$failureType:Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
aload 2
invokevirtual com.netflix.hystrix.AbstractCommand.wrapWithOnErrorHook:(Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;Ljava/lang/Throwable;)Ljava/lang/Exception;
astore 2
14: new com.netflix.hystrix.exception.HystrixRuntimeException
dup
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$failureType:Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$_cmd:Lcom/netflix/hystrix/AbstractCommand;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
new java.lang.StringBuilder
dup
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.this$0:Lcom/netflix/hystrix/AbstractCommand;
invokevirtual com.netflix.hystrix.AbstractCommand.getLogMessagePrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.netflix.hystrix.AbstractCommand$22.val$message:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " and fallback failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
aload 3
invokespecial com.netflix.hystrix.exception.HystrixRuntimeException.<init>:(Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/Throwable;)V
invokestatic rx.Observable.error:(Ljava/lang/Throwable;)Lrx/Observable;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/netflix/hystrix/AbstractCommand$22;
0 15 1 t Ljava/lang/Throwable;
1 15 2 e Ljava/lang/Exception;
2 15 3 fe Ljava/lang/Exception;
4 9 4 latency J
10 15 4 latency J
Signature: (Ljava/lang/Throwable;)Lrx/Observable<TR;>;
MethodParameters:
Name Flags
t
public java.lang.Object call(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Throwable
invokevirtual com.netflix.hystrix.AbstractCommand$22.call:(Ljava/lang/Throwable;)Lrx/Observable;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lrx/functions/Func1<Ljava/lang/Throwable;Lrx/Observable<TR;>;>;
SourceFile: "AbstractCommand.java"
EnclosingMethod: com.netflix.hystrix.AbstractCommand.getFallbackOrThrowException:(Lcom/netflix/hystrix/AbstractCommand;Lcom/netflix/hystrix/HystrixEventType;Lcom/netflix/hystrix/exception/HystrixRuntimeException$FailureType;Ljava/lang/String;Ljava/lang/Exception;)Lrx/Observable;
NestHost: com.netflix.hystrix.AbstractCommand
InnerClasses:
com.netflix.hystrix.AbstractCommand$22
public final FailureType = com.netflix.hystrix.exception.HystrixRuntimeException$FailureType of com.netflix.hystrix.exception.HystrixRuntimeException