final class org.apache.cassandra.db.ColumnFamilyStore$PostFlush implements java.util.concurrent.Callable<org.apache.cassandra.db.commitlog.CommitLogPosition>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.db.ColumnFamilyStore$PostFlush
super_class: java.lang.Object
{
final java.util.concurrent.CountDownLatch latch;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0010) ACC_FINAL
final java.util.List<org.apache.cassandra.db.Memtable> memtables;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/db/Memtable;>;
volatile java.lang.Throwable flushFailure;
descriptor: Ljava/lang/Throwable;
flags: (0x0040) ACC_VOLATILE
final org.apache.cassandra.db.ColumnFamilyStore this$0;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(java.util.List<org.apache.cassandra.db.Memtable>);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.this$0:Lorg/apache/cassandra/db/ColumnFamilyStore;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.latch:Ljava/util/concurrent/CountDownLatch;
3: aload 0
aconst_null
putfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.flushFailure:Ljava/lang/Throwable;
4: aload 0
aload 2
putfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.memtables:Ljava/util/List;
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/ColumnFamilyStore$PostFlush;
0 6 2 memtables Ljava/util/List<Lorg/apache/cassandra/db/Memtable;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/Memtable;>;)V
MethodParameters:
Name Flags
this$0 final
memtables
public org.apache.cassandra.db.commitlog.CommitLogPosition call();
descriptor: ()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.latch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.await:()V
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
3: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.commitlog.CommitLogPosition.NONE:Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
astore 1
start local 1 5: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.flushFailure:Ljava/lang/Throwable;
ifnonnull 9
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.memtables:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 9
6: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.memtables:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Memtable
astore 2
start local 2 7: aload 2
invokevirtual org.apache.cassandra.db.Memtable.getCommitLogUpperBound:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
astore 1
8: getstatic org.apache.cassandra.db.commitlog.CommitLog.instance:Lorg/apache/cassandra/db/commitlog/CommitLog;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.this$0:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
aload 2
invokevirtual org.apache.cassandra.db.Memtable.getCommitLogLowerBound:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
aload 1
invokevirtual org.apache.cassandra.db.commitlog.CommitLog.discardCompletedSegments:(Ljava/util/UUID;Lorg/apache/cassandra/db/commitlog/CommitLogPosition;Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)V
end local 2 9: StackMap locals: org.apache.cassandra.db.commitlog.CommitLogPosition
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.this$0:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.pendingFlushes:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.dec:()V
10: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.flushFailure:Ljava/lang/Throwable;
ifnull 12
11: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore$PostFlush.flushFailure:Ljava/lang/Throwable;
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/ColumnFamilyStore$PostFlush;
5 13 1 commitLogUpperBound Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
7 9 2 memtable Lorg/apache/cassandra/db/Memtable;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$PostFlush.call:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Callable<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
SourceFile: "ColumnFamilyStore.java"
NestHost: org.apache.cassandra.db.ColumnFamilyStore
InnerClasses:
private final PostFlush = org.apache.cassandra.db.ColumnFamilyStore$PostFlush of org.apache.cassandra.db.ColumnFamilyStore