class org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle
super_class: java.lang.Object
{
private final org.apache.cassandra.db.SinglePartitionReadCommand command;
descriptor: Lorg/apache/cassandra/db/SinglePartitionReadCommand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.service.AbstractReadExecutor executor;
descriptor: Lorg/apache/cassandra/service/AbstractReadExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.ConsistencyLevel consistency;
descriptor: Lorg/apache/cassandra/db/ConsistencyLevel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long queryStartNanoTime;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.db.partitions.PartitionIterator result;
descriptor: Lorg/apache/cassandra/db/partitions/PartitionIterator;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.service.ReadCallback repairHandler;
descriptor: Lorg/apache/cassandra/service/ReadCallback;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/service/StorageProxy;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.cassandra.db.SinglePartitionReadCommand, org.apache.cassandra.db.ConsistencyLevel, long);
descriptor: (Lorg/apache/cassandra/db/SinglePartitionReadCommand;Lorg/apache/cassandra/db/ConsistencyLevel;J)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.command:Lorg/apache/cassandra/db/SinglePartitionReadCommand;
2: aload 0
aload 1
aload 2
lload 3
invokestatic org.apache.cassandra.service.AbstractReadExecutor.getReadExecutor:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;Lorg/apache/cassandra/db/ConsistencyLevel;J)Lorg/apache/cassandra/service/AbstractReadExecutor;
putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
3: aload 0
aload 2
putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.consistency:Lorg/apache/cassandra/db/ConsistencyLevel;
4: aload 0
lload 3
putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.queryStartNanoTime:J
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
0 6 1 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
0 6 2 consistency Lorg/apache/cassandra/db/ConsistencyLevel;
0 6 3 queryStartNanoTime J
MethodParameters:
Name Flags
command
consistency
queryStartNanoTime
boolean isDone();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.result:Lorg/apache/cassandra/db/partitions/PartitionIterator;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
void doInitialQueries();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
invokevirtual org.apache.cassandra.service.AbstractReadExecutor.executeAsync:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
void maybeTryAdditionalReplicas();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
invokevirtual org.apache.cassandra.service.AbstractReadExecutor.maybeTryAdditionalReplicas:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
void awaitResultsAndRetryOnDigestMismatch();
descriptor: ()V
flags: (0x0000)
Code:
stack=11, locals=7, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
invokevirtual org.apache.cassandra.service.AbstractReadExecutor.get:()Lorg/apache/cassandra/db/partitions/PartitionIterator;
putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.result:Lorg/apache/cassandra/db/partitions/PartitionIterator;
1: goto 21
2: StackMap locals:
StackMap stack: org.apache.cassandra.service.DigestMismatchException
astore 1
start local 1 3: ldc "Digest mismatch: {}"
aload 1
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;)V
4: getstatic org.apache.cassandra.metrics.ReadRepairMetrics.repairedBlocking:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
5: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.command:Lorg/apache/cassandra/db/SinglePartitionReadCommand;
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 2
start local 2 6: new org.apache.cassandra.service.DataResolver
dup
aload 2
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.command:Lorg/apache/cassandra/db/SinglePartitionReadCommand;
getstatic org.apache.cassandra.db.ConsistencyLevel.ALL:Lorg/apache/cassandra/db/ConsistencyLevel;
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
getfield org.apache.cassandra.service.AbstractReadExecutor.handler:Lorg/apache/cassandra/service/ReadCallback;
getfield org.apache.cassandra.service.ReadCallback.endpoints:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.queryStartNanoTime:J
invokespecial org.apache.cassandra.service.DataResolver.<init>:(Lorg/apache/cassandra/db/Keyspace;Lorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/db/ConsistencyLevel;IJ)V
astore 3
start local 3 7: aload 0
new org.apache.cassandra.service.ReadCallback
dup
aload 3
8: getstatic org.apache.cassandra.db.ConsistencyLevel.ALL:Lorg/apache/cassandra/db/ConsistencyLevel;
9: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
invokevirtual org.apache.cassandra.service.AbstractReadExecutor.getContactedReplicas:()Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
10: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.command:Lorg/apache/cassandra/db/SinglePartitionReadCommand;
11: aload 2
12: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
getfield org.apache.cassandra.service.AbstractReadExecutor.handler:Lorg/apache/cassandra/service/ReadCallback;
getfield org.apache.cassandra.service.ReadCallback.endpoints:Ljava/util/List;
13: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.queryStartNanoTime:J
invokespecial org.apache.cassandra.service.ReadCallback.<init>:(Lorg/apache/cassandra/service/ResponseResolver;Lorg/apache/cassandra/db/ConsistencyLevel;ILorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/db/Keyspace;Ljava/util/List;J)V
14: putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.repairHandler:Lorg/apache/cassandra/service/ReadCallback;
15: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.executor:Lorg/apache/cassandra/service/AbstractReadExecutor;
invokevirtual org.apache.cassandra.service.AbstractReadExecutor.getContactedReplicas:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 20
StackMap locals: org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle org.apache.cassandra.service.DigestMismatchException org.apache.cassandra.db.Keyspace org.apache.cassandra.service.DataResolver top java.util.Iterator
StackMap stack:
16: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 4
start local 4 17: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.command:Lorg/apache/cassandra/db/SinglePartitionReadCommand;
invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 4
invokevirtual org.apache.cassandra.net.MessagingService.getVersion:(Ljava/net/InetAddress;)I
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.createMessage:(I)Lorg/apache/cassandra/net/MessageOut;
astore 6
start local 6 18: ldc "Enqueuing full data read to {}"
aload 4
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;)V
19: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
aload 6
aload 4
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.repairHandler:Lorg/apache/cassandra/service/ReadCallback;
invokevirtual org.apache.cassandra.net.MessagingService.sendRRWithFailure:(Lorg/apache/cassandra/net/MessageOut;Ljava/net/InetAddress;Lorg/apache/cassandra/net/IAsyncCallbackWithFailure;)I
pop
end local 6 end local 4 20: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 3 end local 2 end local 1 21: StackMap locals: org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
3 21 1 ex Lorg/apache/cassandra/service/DigestMismatchException;
6 21 2 keyspace Lorg/apache/cassandra/db/Keyspace;
7 21 3 resolver Lorg/apache/cassandra/service/DataResolver;
17 20 4 endpoint Ljava/net/InetAddress;
18 20 6 message Lorg/apache/cassandra/net/MessageOut<Lorg/apache/cassandra/db/ReadCommand;>;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.service.DigestMismatchException
Exceptions:
throws org.apache.cassandra.exceptions.ReadFailureException, org.apache.cassandra.exceptions.ReadTimeoutException
void maybeAwaitFullDataRead();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.repairHandler:Lorg/apache/cassandra/service/ReadCallback;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.repairHandler:Lorg/apache/cassandra/service/ReadCallback;
invokevirtual org.apache.cassandra.service.ReadCallback.get:()Lorg/apache/cassandra/db/partitions/PartitionIterator;
putfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.result:Lorg/apache/cassandra/db/partitions/PartitionIterator;
3: goto 12
4: StackMap locals:
StackMap stack: org.apache.cassandra.service.DigestMismatchException
astore 1
start local 1 5: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 6: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.ReadTimeoutException
pop
7: invokestatic org.apache.cassandra.tracing.Tracing.isTracing:()Z
ifeq 9
8: ldc "Timed out waiting on digest mismatch repair requests"
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;)V
goto 10
9: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.StorageProxy.logger:Lorg/slf4j/Logger;
ldc "Timed out waiting on digest mismatch repair requests"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.consistency:Lorg/apache/cassandra/db/ConsistencyLevel;
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.command:Lorg/apache/cassandra/db/SinglePartitionReadCommand;
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.ConsistencyLevel.blockFor:(Lorg/apache/cassandra/db/Keyspace;)I
istore 1
start local 1 11: new org.apache.cassandra.exceptions.ReadTimeoutException
dup
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.consistency:Lorg/apache/cassandra/db/ConsistencyLevel;
iload 1
iconst_1
isub
iload 1
iconst_1
invokespecial org.apache.cassandra.exceptions.ReadTimeoutException.<init>:(Lorg/apache/cassandra/db/ConsistencyLevel;IIZ)V
athrow
end local 1 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
5 6 1 e Lorg/apache/cassandra/service/DigestMismatchException;
11 12 1 blockFor I
Exception table:
from to target type
2 3 4 Class org.apache.cassandra.service.DigestMismatchException
2 3 6 Class org.apache.cassandra.exceptions.ReadTimeoutException
Exceptions:
throws org.apache.cassandra.exceptions.ReadTimeoutException
org.apache.cassandra.db.partitions.PartitionIterator getResult();
descriptor: ()Lorg/apache/cassandra/db/partitions/PartitionIterator;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.result:Lorg/apache/cassandra/db/partitions/PartitionIterator;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle.result:Lorg/apache/cassandra/db/partitions/PartitionIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/StorageProxy$SinglePartitionReadLifecycle;
}
SourceFile: "StorageProxy.java"
NestHost: org.apache.cassandra.service.StorageProxy
InnerClasses:
private SinglePartitionReadLifecycle = org.apache.cassandra.service.StorageProxy$SinglePartitionReadLifecycle of org.apache.cassandra.service.StorageProxy