public abstract class org.apache.cassandra.db.compaction.writers.CompactionAwareWriter extends org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional implements org.apache.cassandra.utils.concurrent.Transactional
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.apache.cassandra.db.compaction.writers.CompactionAwareWriter
  super_class: org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional
{
  protected static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL

  protected final org.apache.cassandra.db.ColumnFamilyStore cfs;
    descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final org.apache.cassandra.db.Directories directories;
    descriptor: Lorg/apache/cassandra/db/Directories;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> nonExpiredSSTables;
    descriptor: Ljava/util/Set;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;

  protected final long estimatedTotalKeys;
    descriptor: J
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final long maxAge;
    descriptor: J
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final long minRepairedAt;
    descriptor: J
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final org.apache.cassandra.io.sstable.SSTableRewriter sstableWriter;
    descriptor: Lorg/apache/cassandra/io/sstable/SSTableRewriter;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final org.apache.cassandra.db.lifecycle.LifecycleTransaction txn;
    descriptor: Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  private final java.util.List<org.apache.cassandra.db.Directories$DataDirectory> locations;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectory;>;

  private final java.util.List<org.apache.cassandra.db.PartitionPosition> diskBoundaries;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lorg/apache/cassandra/db/PartitionPosition;>;

  private int locationIndex;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 50
            ldc Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.logger:Lorg/slf4j/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.apache.cassandra.db.ColumnFamilyStore, org.apache.cassandra.db.Directories, org.apache.cassandra.db.lifecycle.LifecycleTransaction, java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader>, boolean, );
    descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;ZZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=7
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // org.apache.cassandra.db.ColumnFamilyStore cfs
        start local 2 // org.apache.cassandra.db.Directories directories
        start local 3 // org.apache.cassandra.db.lifecycle.LifecycleTransaction txn
        start local 4 // java.util.Set nonExpiredSSTables
        start local 5 // boolean offline
        start local 6 // boolean keepOriginals
         0: .line 73
            aload 0 /* this */
            aload 1 /* cfs */
            aload 2 /* directories */
            aload 3 /* txn */
            aload 4 /* nonExpiredSSTables */
            iload 6 /* keepOriginals */
            invokespecial org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;Z)V
         1: .line 74
            return
        end local 6 // boolean keepOriginals
        end local 5 // boolean offline
        end local 4 // java.util.Set nonExpiredSSTables
        end local 3 // org.apache.cassandra.db.lifecycle.LifecycleTransaction txn
        end local 2 // org.apache.cassandra.db.Directories directories
        end local 1 // org.apache.cassandra.db.ColumnFamilyStore cfs
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    2     0                this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0    2     1                 cfs  Lorg/apache/cassandra/db/ColumnFamilyStore;
            0    2     2         directories  Lorg/apache/cassandra/db/Directories;
            0    2     3                 txn  Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
            0    2     4  nonExpiredSSTables  Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
            0    2     5             offline  Z
            0    2     6       keepOriginals  Z
    Signature: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;ZZ)V
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
                    Name  Flags
      cfs                 
      directories         
      txn                 
      nonExpiredSSTables  
      offline             
      keepOriginals       

  public void <init>(org.apache.cassandra.db.ColumnFamilyStore, org.apache.cassandra.db.Directories, org.apache.cassandra.db.lifecycle.LifecycleTransaction, java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader>, );
    descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=6
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // org.apache.cassandra.db.ColumnFamilyStore cfs
        start local 2 // org.apache.cassandra.db.Directories directories
        start local 3 // org.apache.cassandra.db.lifecycle.LifecycleTransaction txn
        start local 4 // java.util.Set nonExpiredSSTables
        start local 5 // boolean keepOriginals
         0: .line 76
            aload 0 /* this */
            invokespecial org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.<init>:()V
         1: .line 82
            aload 0 /* this */
            aload 1 /* cfs */
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
         2: .line 83
            aload 0 /* this */
            aload 2 /* directories */
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.directories:Lorg/apache/cassandra/db/Directories;
         3: .line 84
            aload 0 /* this */
            aload 4 /* nonExpiredSSTables */
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.nonExpiredSSTables:Ljava/util/Set;
         4: .line 85
            aload 0 /* this */
            aload 3 /* txn */
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
         5: .line 87
            aload 0 /* this */
            aload 4 /* nonExpiredSSTables */
            invokestatic org.apache.cassandra.io.sstable.format.SSTableReader.getApproximateKeyCount:(Ljava/lang/Iterable;)J
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.estimatedTotalKeys:J
         6: .line 88
            aload 0 /* this */
            aload 4 /* nonExpiredSSTables */
            invokestatic org.apache.cassandra.db.compaction.CompactionTask.getMaxDataAge:(Ljava/util/Collection;)J
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.maxAge:J
         7: .line 89
            aload 0 /* this */
            aload 1 /* cfs */
            aload 3 /* txn */
            iload 5 /* keepOriginals */
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.maxAge:J
            invokestatic org.apache.cassandra.io.sstable.SSTableRewriter.construct:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/ILifecycleTransaction;ZJ)Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
         8: .line 90
            aload 0 /* this */
            aload 4 /* nonExpiredSSTables */
            invokestatic org.apache.cassandra.db.compaction.CompactionTask.getMinRepairedAt:(Ljava/util/Set;)J
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.minRepairedAt:J
         9: .line 91
            aload 1 /* cfs */
            invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDiskBoundaries:()Lorg/apache/cassandra/db/DiskBoundaries;
            astore 6 /* db */
        start local 6 // org.apache.cassandra.db.DiskBoundaries db
        10: .line 92
            aload 0 /* this */
            aload 6 /* db */
            getfield org.apache.cassandra.db.DiskBoundaries.positions:Lcom/google/common/collect/ImmutableList;
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.diskBoundaries:Ljava/util/List;
        11: .line 93
            aload 0 /* this */
            aload 6 /* db */
            getfield org.apache.cassandra.db.DiskBoundaries.directories:Ljava/util/List;
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locations:Ljava/util/List;
        12: .line 94
            aload 0 /* this */
            iconst_m1
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
        13: .line 95
            return
        end local 6 // org.apache.cassandra.db.DiskBoundaries db
        end local 5 // boolean keepOriginals
        end local 4 // java.util.Set nonExpiredSSTables
        end local 3 // org.apache.cassandra.db.lifecycle.LifecycleTransaction txn
        end local 2 // org.apache.cassandra.db.Directories directories
        end local 1 // org.apache.cassandra.db.ColumnFamilyStore cfs
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   14     0                this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0   14     1                 cfs  Lorg/apache/cassandra/db/ColumnFamilyStore;
            0   14     2         directories  Lorg/apache/cassandra/db/Directories;
            0   14     3                 txn  Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
            0   14     4  nonExpiredSSTables  Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
            0   14     5       keepOriginals  Z
           10   14     6                  db  Lorg/apache/cassandra/db/DiskBoundaries;
    Signature: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Z)V
    MethodParameters:
                    Name  Flags
      cfs                 
      directories         
      txn                 
      nonExpiredSSTables  
      keepOriginals       

  protected java.lang.Throwable doAbort(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // java.lang.Throwable accumulate
         0: .line 100
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            aload 1 /* accumulate */
            invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            areturn
        end local 1 // java.lang.Throwable accumulate
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0    1     1  accumulate  Ljava/lang/Throwable;
    MethodParameters:
            Name  Flags
      accumulate  

  protected java.lang.Throwable doCommit(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // java.lang.Throwable accumulate
         0: .line 106
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            aload 1 /* accumulate */
            invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.commit:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            areturn
        end local 1 // java.lang.Throwable accumulate
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0    1     1  accumulate  Ljava/lang/Throwable;
    MethodParameters:
            Name  Flags
      accumulate  

  protected void doPrepare();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
         0: .line 112
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.prepareToCommit:()V
         1: .line 113
            return
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;

  public java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader> finish();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
         0: .line 122
            aload 0 /* this */
            invokespecial org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.finish:()Ljava/lang/Object;
            pop
         1: .line 123
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.finished:()Ljava/util/List;
            areturn
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
    Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;

  public long estimatedKeys();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
         0: .line 131
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.estimatedTotalKeys:J
            lreturn
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;

  public final boolean append(org.apache.cassandra.db.rows.UnfilteredRowIterator);
    descriptor: (Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // org.apache.cassandra.db.rows.UnfilteredRowIterator partition
         0: .line 141
            aload 0 /* this */
            aload 1 /* partition */
            invokeinterface org.apache.cassandra.db.rows.UnfilteredRowIterator.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.maybeSwitchWriter:(Lorg/apache/cassandra/db/DecoratedKey;)V
         1: .line 142
            aload 0 /* this */
            aload 1 /* partition */
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.realAppend:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
            ireturn
        end local 1 // org.apache.cassandra.db.rows.UnfilteredRowIterator partition
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0    2     1  partition  Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
    MethodParameters:
           Name  Flags
      partition  

  protected java.lang.Throwable doPostCleanup(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // java.lang.Throwable accumulate
         0: .line 148
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.close:()V
         1: .line 149
            aload 0 /* this */
            aload 1 /* accumulate */
            invokespecial org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.doPostCleanup:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            areturn
        end local 1 // java.lang.Throwable accumulate
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0    2     1  accumulate  Ljava/lang/Throwable;
    MethodParameters:
            Name  Flags
      accumulate  

  protected abstract boolean realAppend(org.apache.cassandra.db.rows.UnfilteredRowIterator);
    descriptor: (Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
           Name  Flags
      partition  

  protected void maybeSwitchWriter(org.apache.cassandra.db.DecoratedKey);
    descriptor: (Lorg/apache/cassandra/db/DecoratedKey;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // org.apache.cassandra.db.DecoratedKey key
         0: .line 160
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.diskBoundaries:Ljava/util/List;
            ifnonnull 6
         1: .line 162
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            ifge 5
         2: .line 164
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.nonExpiredSSTables:Ljava/util/Set;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.nonExpiredSSTables:Ljava/util/Set;
            getstatic org.apache.cassandra.db.compaction.OperationType.UNKNOWN:Lorg/apache/cassandra/db/compaction/OperationType;
            invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getExpectedCompactedFileSize:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/compaction/OperationType;)J
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.getWriteDirectory:(Ljava/lang/Iterable;J)Lorg/apache/cassandra/db/Directories$DataDirectory;
            astore 2 /* defaultLocation */
        start local 2 // org.apache.cassandra.db.Directories$DataDirectory defaultLocation
         3: .line 165
            aload 0 /* this */
            aload 2 /* defaultLocation */
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.switchCompactionLocation:(Lorg/apache/cassandra/db/Directories$DataDirectory;)V
         4: .line 166
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
        end local 2 // org.apache.cassandra.db.Directories$DataDirectory defaultLocation
         5: .line 168
      StackMap locals:
      StackMap stack:
            return
         6: .line 171
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            iconst_m1
            if_icmple 8
            aload 1 /* key */
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.diskBoundaries:Ljava/util/List;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.cassandra.db.PartitionPosition
            invokevirtual org.apache.cassandra.db.DecoratedKey.compareTo:(Lorg/apache/cassandra/db/PartitionPosition;)I
            ifge 8
         7: .line 172
            return
         8: .line 174
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            istore 2 /* prevIdx */
        start local 2 // int prevIdx
         9: .line 175
            goto 11
        10: .line 176
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            iconst_1
            iadd
            putfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
        11: .line 175
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            iconst_m1
            if_icmpeq 10
            aload 1 /* key */
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.diskBoundaries:Ljava/util/List;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.cassandra.db.PartitionPosition
            invokevirtual org.apache.cassandra.db.DecoratedKey.compareTo:(Lorg/apache/cassandra/db/PartitionPosition;)I
            ifgt 10
        12: .line 177
            iload 2 /* prevIdx */
            iflt 14
        13: .line 178
            getstatic org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.logger:Lorg/slf4j/Logger;
            ldc "Switching write location from {} to {}"
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locations:Ljava/util/List;
            iload 2 /* prevIdx */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locations:Ljava/util/List;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 179
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locations:Ljava/util/List;
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.locationIndex:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectory
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.switchCompactionLocation:(Lorg/apache/cassandra/db/Directories$DataDirectory;)V
        15: .line 180
            return
        end local 2 // int prevIdx
        end local 1 // org.apache.cassandra.db.DecoratedKey key
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   16     0             this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0   16     1              key  Lorg/apache/cassandra/db/DecoratedKey;
            3    5     2  defaultLocation  Lorg/apache/cassandra/db/Directories$DataDirectory;
            9   16     2          prevIdx  I
    MethodParameters:
      Name  Flags
      key   

  protected abstract void switchCompactionLocation(org.apache.cassandra.db.Directories$DataDirectory);
    descriptor: (Lorg/apache/cassandra/db/Directories$DataDirectory;)V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
           Name  Flags
      directory  

  public org.apache.cassandra.db.Directories getDirectories();
    descriptor: ()Lorg/apache/cassandra/db/Directories;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
         0: .line 195
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.directories:Lorg/apache/cassandra/db/Directories;
            areturn
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;

  public org.apache.cassandra.db.Directories$DataDirectory getWriteDirectory(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>, long);
    descriptor: (Ljava/lang/Iterable;J)Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=8, args_size=3
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // java.lang.Iterable sstables
        start local 2 // long estimatedWriteSize
         0: .line 206
            aconst_null
            astore 4 /* directory */
        start local 4 // java.io.File directory
         1: .line 207
            aload 1 /* sstables */
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 6
            goto 8
      StackMap locals: org.apache.cassandra.db.compaction.writers.CompactionAwareWriter java.lang.Iterable long java.io.File top java.util.Iterator
      StackMap stack:
         2: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.io.sstable.format.SSTableReader
            astore 5 /* sstable */
        start local 5 // org.apache.cassandra.io.sstable.format.SSTableReader sstable
         3: .line 209
            aload 4 /* directory */
            ifnonnull 5
         4: .line 210
            aload 5 /* sstable */
            getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
            getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
            astore 4 /* directory */
         5: .line 211
      StackMap locals: org.apache.cassandra.db.compaction.writers.CompactionAwareWriter java.lang.Iterable long java.io.File org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator
      StackMap stack:
            aload 4 /* directory */
            aload 5 /* sstable */
            getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
            getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
            invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
            ifne 8
         6: .line 213
            getstatic org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.logger:Lorg/slf4j/Logger;
            ldc "All sstables not from the same disk - putting results in {}"
            aload 4 /* directory */
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 214
            goto 9
        end local 5 // org.apache.cassandra.io.sstable.format.SSTableReader sstable
         8: .line 207
      StackMap locals: org.apache.cassandra.db.compaction.writers.CompactionAwareWriter java.lang.Iterable long java.io.File top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         9: .line 217
      StackMap locals: org.apache.cassandra.db.compaction.writers.CompactionAwareWriter java.lang.Iterable long java.io.File
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.getDirectories:()Lorg/apache/cassandra/db/Directories;
            aload 4 /* directory */
            invokevirtual org.apache.cassandra.db.Directories.getDataDirectoryForFile:(Ljava/io/File;)Lorg/apache/cassandra/db/Directories$DataDirectory;
            astore 5 /* d */
        start local 5 // org.apache.cassandra.db.Directories$DataDirectory d
        10: .line 218
            aload 5 /* d */
            ifnull 20
        11: .line 220
            aload 5 /* d */
            invokevirtual org.apache.cassandra.db.Directories$DataDirectory.getAvailableSpace:()J
            lstore 6 /* availableSpace */
        start local 6 // long availableSpace
        12: .line 221
            lload 6 /* availableSpace */
            lload 2 /* estimatedWriteSize */
            lcmp
            ifge 18
        13: .line 222
            new java.lang.RuntimeException
            dup
            ldc "Not enough space to write %s to %s (%s available)"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        14: .line 223
            lload 2 /* estimatedWriteSize */
            invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
            aastore
            dup
            iconst_1
        15: .line 224
            aload 5 /* d */
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            aastore
            dup
            iconst_2
        16: .line 225
            lload 6 /* availableSpace */
            invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
            aastore
        17: .line 222
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 226
      StackMap locals: org.apache.cassandra.db.Directories$DataDirectory long
      StackMap stack:
            getstatic org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.logger:Lorg/slf4j/Logger;
            ldc "putting compaction results in {}"
            aload 4 /* directory */
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
        19: .line 227
            aload 5 /* d */
            areturn
        end local 6 // long availableSpace
        20: .line 229
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.getDirectories:()Lorg/apache/cassandra/db/Directories;
            lload 2 /* estimatedWriteSize */
            invokevirtual org.apache.cassandra.db.Directories.getWriteableLocation:(J)Lorg/apache/cassandra/db/Directories$DataDirectory;
            astore 5 /* d */
        21: .line 230
            aload 5 /* d */
            ifnonnull 25
        22: .line 231
            new java.lang.RuntimeException
            dup
            ldc "Not enough disk space to store %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        23: .line 232
            lload 2 /* estimatedWriteSize */
            invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
            aastore
        24: .line 231
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 233
      StackMap locals:
      StackMap stack:
            aload 5 /* d */
            areturn
        end local 5 // org.apache.cassandra.db.Directories$DataDirectory d
        end local 4 // java.io.File directory
        end local 2 // long estimatedWriteSize
        end local 1 // java.lang.Iterable sstables
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   26     0                this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0   26     1            sstables  Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
            0   26     2  estimatedWriteSize  J
            1   26     4           directory  Ljava/io/File;
            3    8     5             sstable  Lorg/apache/cassandra/io/sstable/format/SSTableReader;
           10   26     5                   d  Lorg/apache/cassandra/db/Directories$DataDirectory;
           12   20     6      availableSpace  J
    Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;J)Lorg/apache/cassandra/db/Directories$DataDirectory;
    MethodParameters:
                    Name  Flags
      sstables            
      estimatedWriteSize  

  public org.apache.cassandra.db.compaction.writers.CompactionAwareWriter setRepairedAt(long);
    descriptor: (J)Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
        start local 1 // long repairedAt
         0: .line 238
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            lload 1 /* repairedAt */
            invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.setRepairedAt:(J)Lorg/apache/cassandra/io/sstable/SSTableRewriter;
            pop
         1: .line 239
            aload 0 /* this */
            areturn
        end local 1 // long repairedAt
        end local 0 // org.apache.cassandra.db.compaction.writers.CompactionAwareWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
            0    2     1  repairedAt  J
    MethodParameters:
            Name  Flags
      repairedAt  

  public java.lang.Object finish();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.finish:()Ljava/util/Collection;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "CompactionAwareWriter.java"
InnerClasses:
  public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
  public abstract AbstractTransactional = org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional of org.apache.cassandra.utils.concurrent.Transactional