public class org.apache.cassandra.db.lifecycle.LifecycleTransaction extends org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional implements org.apache.cassandra.db.lifecycle.ILifecycleTransaction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.lifecycle.LifecycleTransaction
super_class: org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public final org.apache.cassandra.db.lifecycle.Tracker tracker;
descriptor: Lorg/apache/cassandra/db/lifecycle/Tracker;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final org.apache.cassandra.db.lifecycle.LogTransaction log;
descriptor: Lorg/apache/cassandra/db/lifecycle/LogTransaction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> originals;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
private final java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> marked;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
private final java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader$UniqueIdentifier> identities;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;>;
private final org.apache.cassandra.db.lifecycle.LifecycleTransaction$State logged;
descriptor: Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.lifecycle.LifecycleTransaction$State staged;
descriptor: Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion> obsoletions;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;
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/db/lifecycle/LifecycleTransaction;
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.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.db.lifecycle.LifecycleTransaction offline(org.apache.cassandra.db.compaction.OperationType, org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/db/compaction/OperationType;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.offline:(Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 operationType Lorg/apache/cassandra/db/compaction/OperationType;
0 1 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
operationType
reader
public static org.apache.cassandra.db.lifecycle.LifecycleTransaction offline(org.apache.cassandra.db.compaction.OperationType, java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.db.lifecycle.Tracker
dup
aconst_null
iconst_0
invokespecial org.apache.cassandra.db.lifecycle.Tracker.<init>:(Lorg/apache/cassandra/db/Memtable;Z)V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.addInitialSSTables:(Ljava/lang/Iterable;)V
2: aload 2
invokestatic org.apache.cassandra.db.lifecycle.Helpers.emptySet:()Ljava/util/Set;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.View.updateCompacting:(Ljava/util/Set;Ljava/lang/Iterable;)Lcom/google/common/base/Function;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.apply:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/utils/Pair;
pop
3: new org.apache.cassandra.db.lifecycle.LifecycleTransaction
dup
aload 2
aload 0
aload 1
invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction.<init>:(Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 operationType Lorg/apache/cassandra/db/compaction/OperationType;
0 4 1 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 4 2 dummy Lorg/apache/cassandra/db/lifecycle/Tracker;
Signature: (Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
MethodParameters:
Name Flags
operationType
readers
public static org.apache.cassandra.db.lifecycle.LifecycleTransaction offline(org.apache.cassandra.db.compaction.OperationType);
descriptor: (Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: new org.apache.cassandra.db.lifecycle.Tracker
dup
aconst_null
iconst_0
invokespecial org.apache.cassandra.db.lifecycle.Tracker.<init>:(Lorg/apache/cassandra/db/Memtable;Z)V
astore 1
start local 1 1: new org.apache.cassandra.db.lifecycle.LifecycleTransaction
dup
aload 1
new org.apache.cassandra.db.lifecycle.LogTransaction
dup
aload 0
aload 1
invokespecial org.apache.cassandra.db.lifecycle.LogTransaction.<init>:(Lorg/apache/cassandra/db/compaction/OperationType;Lorg/apache/cassandra/db/lifecycle/Tracker;)V
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction.<init>:(Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/lang/Iterable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 operationType Lorg/apache/cassandra/db/compaction/OperationType;
1 2 1 dummy Lorg/apache/cassandra/db/lifecycle/Tracker;
MethodParameters:
Name Flags
operationType
void <init>(org.apache.cassandra.db.lifecycle.Tracker, org.apache.cassandra.db.compaction.OperationType, java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
new org.apache.cassandra.db.lifecycle.LogTransaction
dup
aload 2
aload 1
invokespecial org.apache.cassandra.db.lifecycle.LogTransaction.<init>:(Lorg/apache/cassandra/db/compaction/OperationType;Lorg/apache/cassandra/db/lifecycle/Tracker;)V
aload 3
invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction.<init>:(Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/lang/Iterable;)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/db/lifecycle/LifecycleTransaction;
0 2 1 tracker Lorg/apache/cassandra/db/lifecycle/Tracker;
0 2 2 operationType Lorg/apache/cassandra/db/compaction/OperationType;
0 2 3 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
tracker
operationType
readers
void <init>(org.apache.cassandra.db.lifecycle.Tracker, org.apache.cassandra.db.lifecycle.LogTransaction, java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
2: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
3: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
4: aload 0
new org.apache.cassandra.db.lifecycle.LifecycleTransaction$State
dup
invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.<init>:()V
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
5: aload 0
new org.apache.cassandra.db.lifecycle.LifecycleTransaction$State
dup
invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.<init>:()V
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
6: aload 0
aload 1
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
7: aload 0
aload 2
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
8: aload 3
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction org.apache.cassandra.db.lifecycle.Tracker org.apache.cassandra.db.lifecycle.LogTransaction java.lang.Iterable top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 4
start local 4 10: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 4
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 15 1 tracker Lorg/apache/cassandra/db/lifecycle/Tracker;
0 15 2 log Lorg/apache/cassandra/db/lifecycle/LogTransaction;
0 15 3 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
10 13 4 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
tracker
log
readers
public org.apache.cassandra.db.lifecycle.LogTransaction log();
descriptor: ()Lorg/apache/cassandra/db/lifecycle/LogTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
public org.apache.cassandra.db.compaction.OperationType opType();
descriptor: ()Lorg/apache/cassandra/db/compaction/OperationType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.type:()Lorg/apache/cassandra/db/compaction/OperationType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
public java.util.UUID opId();
descriptor: ()Ljava/util/UUID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.id:()Ljava/util/UUID;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
public void doPrepare();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.checkpoint:()V
1: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterIn:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
dup_x1
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.obsoletions:Ljava/util/List;
aconst_null
invokestatic org.apache.cassandra.db.lifecycle.Helpers.prepareForObsoletion:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
2: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.prepareToCommit:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
public java.lang.Throwable doCommit(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "must be no actions introduced between prepareToCommit and a commit"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 3
2: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Committing transaction over {} staged: {}, logged: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aastore
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
4: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aconst_null
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.commit:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
5: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.obsoletions:Ljava/util/List;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.markObsolete:(Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
6: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.updateSizeTracking:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
7: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
invokestatic org.apache.cassandra.utils.concurrent.Refs.selfRefs:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
aload 1
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
8: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.type:()Lorg/apache/cassandra/db/compaction/OperationType;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.notifySSTablesChanged:(Ljava/util/Collection;Ljava/util/Collection;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 10 1 accumulate Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
public java.lang.Throwable doAbort(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 2
1: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Aborting transaction over {} staged: {}, logged: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aastore
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.obsoletions:Ljava/util/List;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.abortObsoletion:(Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
3: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.isEmpty:()Z
ifeq 5
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.isEmpty:()Z
ifeq 5
4: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
areturn
5: StackMap locals:
StackMap stack:
iconst_2
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.concatUniq:([Ljava/util/Set;)Ljava/lang/Iterable;
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterOut:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
astore 2
start local 2 6: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Obsoleting {}"
aload 2
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
7: aload 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
dup_x1
putfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.obsoletions:Ljava/util/List;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.prepareForObsoletion:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
8: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
9: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.obsoletions:Ljava/util/List;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.markObsolete:(Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
10: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.restoreUpdatedOriginals:()Ljava/util/List;
astore 3
start local 3 11: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
astore 4
start local 4 12: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 3
invokestatic org.apache.cassandra.db.lifecycle.View.updateLiveSet:(Ljava/util/Set;Ljava/lang/Iterable;)Lcom/google/common/base/Function;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.apply:(Lcom/google/common/base/Function;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
13: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 4
aload 3
getstatic org.apache.cassandra.db.compaction.OperationType.COMPACTION:Lorg/apache/cassandra/db/compaction/OperationType;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.notifySSTablesChanged:(Ljava/util/Collection;Ljava/util/Collection;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
14: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.setReplaced:(Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
15: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
invokestatic org.apache.cassandra.utils.concurrent.Refs.selfRefs:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
aload 1
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
16: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.clear:()V
17: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.clear:()V
18: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 19 1 accumulate Ljava/lang/Throwable;
6 19 2 obsolete Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
11 19 3 restored Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
12 19 4 invalid Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
accumulate
protected java.lang.Throwable doPostCleanup(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.close:()V
1: aload 0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.unmarkCompacting:(Ljava/util/Set;Ljava/lang/Throwable;)Ljava/lang/Throwable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 2 1 accumulate Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
public boolean isOffline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.isDummy:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
public void checkpoint();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.checkpoint:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
private java.lang.Throwable checkpoint(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 2
1: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Checkpointing staged {}"
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.isEmpty:()Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.toUpdate:()Ljava/util/Set;
astore 2
start local 2 5: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.fresh:()Ljava/lang/Iterable;
invokestatic com.google.common.collect.ImmutableSet.copyOf:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
astore 3
start local 3 6: aload 2
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterIn:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
invokestatic org.apache.cassandra.db.lifecycle.Helpers.checkNotReplaced:(Ljava/lang/Iterable;)V
7: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokestatic org.apache.cassandra.db.lifecycle.Helpers.emptySet:()Ljava/util/Set;
aload 3
invokestatic org.apache.cassandra.db.lifecycle.View.updateCompacting:(Ljava/util/Set;Ljava/lang/Iterable;)Lcom/google/common/base/Function;
8: aload 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
invokestatic org.apache.cassandra.db.lifecycle.View.updateLiveSet:(Ljava/util/Set;Ljava/lang/Iterable;)Lcom/google/common/base/Function;
9: invokestatic com.google.common.base.Functions.compose:(Lcom/google/common/base/Function;Lcom/google/common/base/Function;)Lcom/google/common/base/Function;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.apply:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/utils/Pair;
pop
10: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
11: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.log:(Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;)V
12: aload 2
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterOut:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.setReplaced:(Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
13: aload 2
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterOut:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
invokestatic org.apache.cassandra.utils.concurrent.Refs.selfRefs:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
aload 1
invokestatic org.apache.cassandra.utils.concurrent.Refs.release:(Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
14: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.clear:()V
15: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 16 1 accumulate Ljava/lang/Throwable;
5 16 2 toUpdate Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
6 16 3 fresh Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
accumulate
public void update(org.apache.cassandra.io.sstable.format.SSTableReader, boolean);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "each reader may only be updated once per checkpoint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "each reader instance may only be provided as an update once: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 3
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
ldc "may not update a reader that has been obsoleted"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 5
iload 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
if_icmpeq 5
new java.lang.AssertionError
dup
ldc "the 'original' indicator was incorrect (%s provided): %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.isOffline:()Z
ifne 9
8: aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.setupOnline:()V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 10 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
0 10 2 original Z
MethodParameters:
Name Flags
reader
original
public void update(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>, );
descriptor: (Ljava/util/Collection;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction java.util.Collection int top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 2: aload 0
aload 3
iload 2
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.update:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Z)V
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 5 1 readers Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 5 2 original Z
2 3 3 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Z)V
MethodParameters:
Name Flags
readers
original
public void obsolete(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Staging for obsolescence {}"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "only reader instances that have previously been provided may be obsoleted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "only readers in the 'original' set may be obsoleted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " vs "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
StackMap locals:
StackMap stack:
4: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "may not obsolete a reader that has already been obsoleted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 6
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "may not obsolete a reader that has a staged update (must checkpoint first): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 7
aload 0
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.current:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
aload 1
if_acmpeq 7
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "may only obsolete the latest version of the reader: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 9 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
reader
public void obsoleteOriginals();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Staging for obsolescence {}"
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterIn:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.isEmpty:(Ljava/lang/Iterable;)Z
ifne 2
new java.lang.AssertionError
dup
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.current:()Ljava/lang/Iterable;
iconst_1
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterIn:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.addAll:(Ljava/util/Collection;Ljava/lang/Iterable;)Z
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
private java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> toUpdate();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.current:()Ljava/lang/Iterable;
iconst_2
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterIn:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.ImmutableSet.copyOf:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
private java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader> fresh();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
iconst_2
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterOut:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: ()Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
public java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader> current();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
iconst_2
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterOut:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: ()Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
private java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader> restoreUpdatedOriginals();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
iconst_2
anewarray java.util.Set
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.filterIn:(Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
astore 1
start local 1 1: aload 1
aload 0
invokedynamic apply(Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Lcom/google/common/base/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/db/lifecycle/LifecycleTransaction.lambda$0(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/io/sstable/format/SSTableReader; (7)
(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
invokestatic com.google.common.collect.Iterables.transform:(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
1 2 1 torestore Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: ()Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
public java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> originals();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
public boolean isObsolete(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 2 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
reader
public org.apache.cassandra.io.sstable.format.SSTableReader current(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.contains:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
ifeq 5
1: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
3: astore 2
start local 2 4: goto 14
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.contains:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
ifeq 10
6: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
goto 8
StackMap locals:
StackMap stack:
7: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
8: astore 2
start local 2 9: goto 14
end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
astore 2
start local 2 12: goto 14
end local 2 13: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
start local 2 14: StackMap locals: java.util.Set
StackMap stack:
aload 1
aload 2
invokestatic org.apache.cassandra.db.lifecycle.Helpers.select:(Ljava/lang/Object;Ljava/util/Collection;)Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 15 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
4 5 2 container Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
9 10 2 container Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
12 13 2 container Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
14 15 2 container Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
reader
public void cancel(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Cancelling {} from transaction"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "may only cancel a reader in the 'original' set: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " vs "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.contains:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
ifne 3
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.contains:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
ifeq 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "may only cancel a reader that has not been updated or obsoleted in this transaction: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
6: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
7: aload 0
aload 1
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
aconst_null
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.unmarkCompacting:(Ljava/util/Set;Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 9 1 cancel Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
cancel
public void cancel(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.cancel:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 5 1 cancels Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 3 2 cancel Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
cancels
public org.apache.cassandra.db.lifecycle.LifecycleTransaction split(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.logger:Lorg/slf4j/Logger;
ldc "Splitting {} into new transaction"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.checkUnused:()V
2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction java.util.Collection top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 4: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 2
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "may only split the same reader instance the transaction was opened with: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals:
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 8: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
aload 2
getfield org.apache.cassandra.io.sstable.format.SSTableReader.instanceId:Lorg/apache/cassandra/io/sstable/format/SSTableReader$UniqueIdentifier;
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
9: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
10: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: new org.apache.cassandra.db.lifecycle.LifecycleTransaction
dup
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.type:()Lorg/apache/cassandra/db/compaction/OperationType;
aload 1
invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction.<init>:(Lorg/apache/cassandra/db/lifecycle/Tracker;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Iterable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 13 1 readers Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 5 2 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
8 11 2 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
MethodParameters:
Name Flags
readers
private void checkUnused();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.isEmpty:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.identities:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.marked:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
private java.lang.Throwable unmarkCompacting(java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Throwable);
descriptor: (Ljava/util/Set;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.emptySet:()Ljava/util/Set;
invokestatic org.apache.cassandra.db.lifecycle.View.updateCompacting:(Ljava/util/Set;Ljava/lang/Iterable;)Lcom/google/common/base/Function;
aload 2
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.apply:(Lcom/google/common/base/Function;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
1: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 2
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.dropSSTablesIfInvalid:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 3 1 unmark Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 3 2 accumulate Ljava/lang/Throwable;
Signature: (Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
unmark
accumulate
public org.apache.cassandra.io.sstable.format.SSTableReader onlyOne();
descriptor: ()Lorg/apache/cassandra/io/sstable/format/SSTableReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
iconst_1
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aconst_null
invokestatic com.google.common.collect.Iterables.getFirst:(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
public void trackNew(org.apache.cassandra.io.sstable.SSTable);
descriptor: (Lorg/apache/cassandra/io/sstable/SSTable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.trackNew:(Lorg/apache/cassandra/io/sstable/SSTable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 2 1 table Lorg/apache/cassandra/io/sstable/SSTable;
MethodParameters:
Name Flags
table
public void untrackNew(org.apache.cassandra.io.sstable.SSTable);
descriptor: (Lorg/apache/cassandra/io/sstable/SSTable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.log:Lorg/apache/cassandra/db/lifecycle/LogTransaction;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.untrackNew:(Lorg/apache/cassandra/io/sstable/SSTable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 2 1 table Lorg/apache/cassandra/io/sstable/SSTable;
MethodParameters:
Name Flags
table
public static boolean removeUnfinishedLeftovers(org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
invokevirtual org.apache.cassandra.db.Directories.getCFDirectories:()Ljava/util/List;
invokestatic org.apache.cassandra.db.lifecycle.LogTransaction.removeUnfinishedLeftovers:(Ljava/util/List;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
MethodParameters:
Name Flags
cfs
public static boolean removeUnfinishedLeftovers(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.db.lifecycle.LogTransaction.removeUnfinishedLeftovers:(Lorg/apache/cassandra/config/CFMetaData;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cfMetaData Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
cfMetaData
public static java.util.List<java.io.File> getFiles(java.nio.file.Path, java.util.function.BiFunction<java.io.File, org.apache.cassandra.db.Directories$FileType, java.lang.Boolean>, org.apache.cassandra.db.Directories$OnTxnErr);
descriptor: (Ljava/nio/file/Path;Ljava/util/function/BiFunction;Lorg/apache/cassandra/db/Directories$OnTxnErr;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.cassandra.db.lifecycle.LogAwareFileLister
dup
aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.db.lifecycle.LogAwareFileLister.<init>:(Ljava/nio/file/Path;Ljava/util/function/BiFunction;Lorg/apache/cassandra/db/Directories$OnTxnErr;)V
invokevirtual org.apache.cassandra.db.lifecycle.LogAwareFileLister.list:()Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 folder Ljava/nio/file/Path;
0 1 1 filter Ljava/util/function/BiFunction<Ljava/io/File;Lorg/apache/cassandra/db/Directories$FileType;Ljava/lang/Boolean;>;
0 1 2 onTxnErr Lorg/apache/cassandra/db/Directories$OnTxnErr;
Signature: (Ljava/nio/file/Path;Ljava/util/function/BiFunction<Ljava/io/File;Lorg/apache/cassandra/db/Directories$FileType;Ljava/lang/Boolean;>;Lorg/apache/cassandra/db/Directories$OnTxnErr;)Ljava/util/List<Ljava/io/File;>;
MethodParameters:
Name Flags
folder
filter
onTxnErr
public static void rescheduleFailedDeletions();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic org.apache.cassandra.db.lifecycle.LogTransaction.rescheduleFailedDeletions:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void waitForDeletions();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic org.apache.cassandra.db.lifecycle.LogTransaction.waitForDeletions:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState state(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$ReaderState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
iconst_2
anewarray java.util.Collection
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState.visible:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lcom/google/common/base/Predicate;[Ljava/util/Collection;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
astore 2
start local 2 1: aload 1
iconst_2
anewarray java.util.Collection
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.Helpers.orIn:([Ljava/util/Collection;)Lcom/google/common/base/Predicate;
iconst_3
anewarray java.util.Collection
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aastore
invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState.visible:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lcom/google/common/base/Predicate;[Ljava/util/Collection;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
astore 3
start local 3 2: new org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState
dup
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.logged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState$Action.get:(ZZ)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$ReaderState$Action;
3: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.update:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.staged:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$State;
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction$State.obsolete:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState$Action.get:(ZZ)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$ReaderState$Action;
4: aload 2
aload 3
aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
5: invokespecial org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState.<init>:(Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$ReaderState$Action;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction$ReaderState$Action;Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;Z)V
areturn
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/db/lifecycle/LifecycleTransaction;
0 6 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
1 6 2 currentlyVisible Lorg/apache/cassandra/io/sstable/format/SSTableReader;
2 6 3 nextVisible Lorg/apache/cassandra/io/sstable/format/SSTableReader;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
reader
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:Ljava/util/Set;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
private org.apache.cassandra.io.sstable.format.SSTableReader lambda$0(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.current:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.cloneWithRestoredStart:(Lorg/apache/cassandra/db/DecoratedKey;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 1 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
}
SourceFile: "LifecycleTransaction.java"
NestMembers:
org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState$Action org.apache.cassandra.db.lifecycle.LifecycleTransaction$State
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final FileType = org.apache.cassandra.db.Directories$FileType of org.apache.cassandra.db.Directories
public final OnTxnErr = org.apache.cassandra.db.Directories$OnTxnErr of org.apache.cassandra.db.Directories
public ReaderState = org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState of org.apache.cassandra.db.lifecycle.LifecycleTransaction
public final Action = org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState$Action of org.apache.cassandra.db.lifecycle.LifecycleTransaction$ReaderState
private State = org.apache.cassandra.db.lifecycle.LifecycleTransaction$State of org.apache.cassandra.db.lifecycle.LifecycleTransaction
Obsoletion = org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion of org.apache.cassandra.db.lifecycle.LogTransaction
public final UniqueIdentifier = org.apache.cassandra.io.sstable.format.SSTableReader$UniqueIdentifier of org.apache.cassandra.io.sstable.format.SSTableReader
public abstract AbstractTransactional = org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional of org.apache.cassandra.utils.concurrent.Transactional