public class org.apache.cassandra.service.WriteResponseHandler<T> extends org.apache.cassandra.service.AbstractWriteResponseHandler<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.service.WriteResponseHandler
super_class: org.apache.cassandra.service.AbstractWriteResponseHandler
{
protected static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected volatile int responses;
descriptor: I
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<org.apache.cassandra.service.WriteResponseHandler> responsesUpdater;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lorg/apache/cassandra/service/WriteResponseHandler;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/service/WriteResponseHandler;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.service.WriteResponseHandler.logger:Lorg/slf4j/Logger;
1: ldc Lorg/apache/cassandra/service/WriteResponseHandler;
ldc "responses"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2: putstatic org.apache.cassandra.service.WriteResponseHandler.responsesUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Collection<java.net.InetAddress>, java.util.Collection<java.net.InetAddress>, org.apache.cassandra.db.ConsistencyLevel, org.apache.cassandra.db.Keyspace, java.lang.Runnable, org.apache.cassandra.db.WriteType, );
descriptor: (Ljava/util/Collection;Ljava/util/Collection;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/db/Keyspace;Ljava/lang/Runnable;Lorg/apache/cassandra/db/WriteType;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 4
aload 1
aload 2
aload 3
aload 5
aload 6
lload 7
invokespecial org.apache.cassandra.service.AbstractWriteResponseHandler.<init>:(Lorg/apache/cassandra/db/Keyspace;Ljava/util/Collection;Ljava/util/Collection;Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/lang/Runnable;Lorg/apache/cassandra/db/WriteType;J)V
1: aload 0
aload 0
invokevirtual org.apache.cassandra.service.WriteResponseHandler.totalBlockFor:()I
putfield org.apache.cassandra.service.WriteResponseHandler.responses:I
2: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/WriteResponseHandler<TT;>;
0 3 1 writeEndpoints Ljava/util/Collection<Ljava/net/InetAddress;>;
0 3 2 pendingEndpoints Ljava/util/Collection<Ljava/net/InetAddress;>;
0 3 3 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
0 3 4 keyspace Lorg/apache/cassandra/db/Keyspace;
0 3 5 callback Ljava/lang/Runnable;
0 3 6 writeType Lorg/apache/cassandra/db/WriteType;
0 3 7 queryStartNanoTime J
Signature: (Ljava/util/Collection<Ljava/net/InetAddress;>;Ljava/util/Collection<Ljava/net/InetAddress;>;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/db/Keyspace;Ljava/lang/Runnable;Lorg/apache/cassandra/db/WriteType;J)V
MethodParameters:
Name Flags
writeEndpoints
pendingEndpoints
consistencyLevel
keyspace
callback
writeType
queryStartNanoTime
public void <init>(java.net.InetAddress, org.apache.cassandra.db.WriteType, java.lang.Runnable, long);
descriptor: (Ljava/net/InetAddress;Lorg/apache/cassandra/db/WriteType;Ljava/lang/Runnable;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_1
anewarray java.net.InetAddress
dup
iconst_0
aload 1
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
getstatic org.apache.cassandra.db.ConsistencyLevel.ONE:Lorg/apache/cassandra/db/ConsistencyLevel;
aconst_null
aload 3
aload 2
lload 4
invokespecial org.apache.cassandra.service.WriteResponseHandler.<init>:(Ljava/util/Collection;Ljava/util/Collection;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/db/Keyspace;Ljava/lang/Runnable;Lorg/apache/cassandra/db/WriteType;J)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/WriteResponseHandler<TT;>;
0 2 1 endpoint Ljava/net/InetAddress;
0 2 2 writeType Lorg/apache/cassandra/db/WriteType;
0 2 3 callback Ljava/lang/Runnable;
0 2 4 queryStartNanoTime J
MethodParameters:
Name Flags
endpoint
writeType
callback
queryStartNanoTime
public void <init>(java.net.InetAddress, org.apache.cassandra.db.WriteType, long);
descriptor: (Ljava/net/InetAddress;Lorg/apache/cassandra/db/WriteType;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
lload 3
invokespecial org.apache.cassandra.service.WriteResponseHandler.<init>:(Ljava/net/InetAddress;Lorg/apache/cassandra/db/WriteType;Ljava/lang/Runnable;J)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/WriteResponseHandler<TT;>;
0 2 1 endpoint Ljava/net/InetAddress;
0 2 2 writeType Lorg/apache/cassandra/db/WriteType;
0 2 3 queryStartNanoTime J
MethodParameters:
Name Flags
endpoint
writeType
queryStartNanoTime
public void response(org.apache.cassandra.net.MessageIn<T>);
descriptor: (Lorg/apache/cassandra/net/MessageIn;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.WriteResponseHandler.responsesUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 2
1: aload 0
invokevirtual org.apache.cassandra.service.WriteResponseHandler.signal:()V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/WriteResponseHandler<TT;>;
0 3 1 m Lorg/apache/cassandra/net/MessageIn<TT;>;
Signature: (Lorg/apache/cassandra/net/MessageIn<TT;>;)V
MethodParameters:
Name Flags
m
protected int ackCount();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.service.WriteResponseHandler.totalBlockFor:()I
aload 0
getfield org.apache.cassandra.service.WriteResponseHandler.responses:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/WriteResponseHandler<TT;>;
public boolean isLatencyForSnitch();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/WriteResponseHandler<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lorg/apache/cassandra/service/AbstractWriteResponseHandler<TT;>;
SourceFile: "WriteResponseHandler.java"