public class org.apache.cassandra.net.ResponseVerbHandler implements org.apache.cassandra.net.IVerbHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.net.ResponseVerbHandler
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/net/ResponseVerbHandler;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.net.ResponseVerbHandler.logger:Lorg/slf4j/Logger;
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 Lorg/apache/cassandra/net/ResponseVerbHandler;
public void doVerb(org.apache.cassandra.net.MessageIn, int);
descriptor: (Lorg/apache/cassandra/net/MessageIn;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
iload 2
invokevirtual org.apache.cassandra.net.MessagingService.getRegisteredCallbackAge:(I)J
lsub
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 3
start local 3 1: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
iload 2
invokevirtual org.apache.cassandra.net.MessagingService.removeRegisteredCallback:(I)Lorg/apache/cassandra/net/CallbackInfo;
astore 5
start local 5 2: aload 5
ifnonnull 7
3: ldc "Callback already removed for {} (from {})"
astore 6
start local 6 4: getstatic org.apache.cassandra.net.ResponseVerbHandler.logger:Lorg/slf4j/Logger;
aload 6
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
getfield org.apache.cassandra.net.MessageIn.from:Ljava/net/InetAddress;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 6
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
getfield org.apache.cassandra.net.MessageIn.from:Ljava/net/InetAddress;
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 6 7: StackMap locals: long org.apache.cassandra.net.CallbackInfo
StackMap stack:
ldc "Processing response from {}"
aload 1
getfield org.apache.cassandra.net.MessageIn.from:Ljava/net/InetAddress;
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 5
getfield org.apache.cassandra.net.CallbackInfo.callback:Lorg/apache/cassandra/net/IAsyncCallback;
astore 6
start local 6 9: aload 1
invokevirtual org.apache.cassandra.net.MessageIn.isFailureResponse:()Z
ifeq 12
10: aload 6
checkcast org.apache.cassandra.net.IAsyncCallbackWithFailure
aload 1
getfield org.apache.cassandra.net.MessageIn.from:Ljava/net/InetAddress;
aload 1
invokevirtual org.apache.cassandra.net.MessageIn.getFailureReason:()Lorg/apache/cassandra/exceptions/RequestFailureReason;
invokeinterface org.apache.cassandra.net.IAsyncCallbackWithFailure.onFailure:(Ljava/net/InetAddress;Lorg/apache/cassandra/exceptions/RequestFailureReason;)V
11: goto 14
12: StackMap locals: org.apache.cassandra.net.IAsyncCallback
StackMap stack:
invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 6
aload 1
getfield org.apache.cassandra.net.MessageIn.from:Ljava/net/InetAddress;
lload 3
invokevirtual org.apache.cassandra.net.MessagingService.maybeAddLatency:(Lorg/apache/cassandra/net/IAsyncCallback;Ljava/net/InetAddress;J)V
13: aload 6
aload 1
invokeinterface org.apache.cassandra.net.IAsyncCallback.response:(Lorg/apache/cassandra/net/MessageIn;)V
14: StackMap locals:
StackMap stack:
aload 5
getfield org.apache.cassandra.net.CallbackInfo.callback:Lorg/apache/cassandra/net/IAsyncCallback;
invokeinterface org.apache.cassandra.net.IAsyncCallback.supportsBackPressure:()Z
ifeq 16
15: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 1
getfield org.apache.cassandra.net.MessageIn.from:Ljava/net/InetAddress;
aload 6
iconst_0
invokevirtual org.apache.cassandra.net.MessagingService.updateBackPressureOnReceive:(Ljava/net/InetAddress;Lorg/apache/cassandra/net/IAsyncCallback;Z)V
16: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/net/ResponseVerbHandler;
0 17 1 message Lorg/apache/cassandra/net/MessageIn;
0 17 2 id I
1 17 3 latency J
2 17 5 callbackInfo Lorg/apache/cassandra/net/CallbackInfo;
4 7 6 msg Ljava/lang/String;
9 17 6 cb Lorg/apache/cassandra/net/IAsyncCallback;
MethodParameters:
Name Flags
message
id
}
SourceFile: "ResponseVerbHandler.java"