public class org.apache.cassandra.db.Directories
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.db.Directories
  super_class: java.lang.Object
{
  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final java.lang.String BACKUPS_SUBDIR;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "backups"

  public static final java.lang.String SNAPSHOT_SUBDIR;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "snapshots"

  public static final java.lang.String TMP_SUBDIR;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "tmp"

  public static final java.lang.String SECONDARY_INDEX_NAME_SEPARATOR;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "."

  public static final org.apache.cassandra.db.Directories$DataDirectory[] dataDirectories;
    descriptor: [Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private final org.apache.cassandra.config.CFMetaData metadata;
    descriptor: Lorg/apache/cassandra/config/CFMetaData;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.apache.cassandra.db.Directories$DataDirectory[] paths;
    descriptor: [Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.File[] dataPaths;
    descriptor: [Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=2, args_size=0
         0: .line 86
            ldc Lorg/apache/cassandra/db/Directories;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
         1: .line 97
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getAllDataFileLocations:()[Ljava/lang/String;
            astore 0 /* locations */
        start local 0 // java.lang.String[] locations
         2: .line 98
            aload 0 /* locations */
            arraylength
            anewarray org.apache.cassandra.db.Directories$DataDirectory
            putstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
         3: .line 99
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         4: goto 7
         5: .line 100
      StackMap locals: java.lang.String[] int
      StackMap stack:
            getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            iload 1 /* i */
            new org.apache.cassandra.db.Directories$DataDirectory
            dup
            new java.io.File
            dup
            aload 0 /* locations */
            iload 1 /* i */
            aaload
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokespecial org.apache.cassandra.db.Directories$DataDirectory.<init>:(Ljava/io/File;)V
            aastore
         6: .line 99
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 1 /* i */
            aload 0 /* locations */
            arraylength
            if_icmplt 5
        end local 1 // int i
        end local 0 // java.lang.String[] locations
         8: .line 101
            return
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            2    8     0  locations  [Ljava/lang/String;
            4    8     1          i  I

  public static boolean verifyFullPermissions(java.io.File, java.lang.String);
    descriptor: (Ljava/io/File;Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.io.File dir
        start local 1 // java.lang.String dataDir
         0: .line 113
            aload 0 /* dir */
            invokevirtual java.io.File.isDirectory:()Z
            ifne 3
         1: .line 115
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Not a directory {}"
            aload 1 /* dataDir */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
         2: .line 116
            iconst_0
            ireturn
         3: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* dir */
            getstatic org.apache.cassandra.db.Directories$FileAction.X:Lorg/apache/cassandra/db/Directories$FileAction;
            invokestatic org.apache.cassandra.db.Directories$FileAction.hasPrivilege:(Ljava/io/File;Lorg/apache/cassandra/db/Directories$FileAction;)Z
            ifne 6
         4: .line 120
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Doesn't have execute permissions for {} directory"
            aload 1 /* dataDir */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
         5: .line 121
            iconst_0
            ireturn
         6: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* dir */
            getstatic org.apache.cassandra.db.Directories$FileAction.R:Lorg/apache/cassandra/db/Directories$FileAction;
            invokestatic org.apache.cassandra.db.Directories$FileAction.hasPrivilege:(Ljava/io/File;Lorg/apache/cassandra/db/Directories$FileAction;)Z
            ifne 9
         7: .line 125
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Doesn't have read permissions for {} directory"
            aload 1 /* dataDir */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
         8: .line 126
            iconst_0
            ireturn
         9: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* dir */
            invokevirtual java.io.File.exists:()Z
            ifeq 12
            aload 0 /* dir */
            getstatic org.apache.cassandra.db.Directories$FileAction.W:Lorg/apache/cassandra/db/Directories$FileAction;
            invokestatic org.apache.cassandra.db.Directories$FileAction.hasPrivilege:(Ljava/io/File;Lorg/apache/cassandra/db/Directories$FileAction;)Z
            ifne 12
        10: .line 130
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Doesn't have write permissions for {} directory"
            aload 1 /* dataDir */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
        11: .line 131
            iconst_0
            ireturn
        12: .line 134
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 1 // java.lang.String dataDir
        end local 0 // java.io.File dir
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   13     0      dir  Ljava/io/File;
            0   13     1  dataDir  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      dir      
      dataDir  

  public void <init>(org.apache.cassandra.config.CFMetaData);
    descriptor: (Lorg/apache/cassandra/config/CFMetaData;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // org.apache.cassandra.config.CFMetaData metadata
         0: .line 183
            aload 0 /* this */
            aload 1 /* metadata */
            getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            invokespecial org.apache.cassandra.db.Directories.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
         1: .line 184
            return
        end local 1 // org.apache.cassandra.config.CFMetaData metadata
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/apache/cassandra/db/Directories;
            0    2     1  metadata  Lorg/apache/cassandra/config/CFMetaData;
    MethodParameters:
          Name  Flags
      metadata  final

  public void <init>(org.apache.cassandra.config.CFMetaData, java.util.Collection<org.apache.cassandra.db.Directories$DataDirectory>);
    descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Collection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // org.apache.cassandra.config.CFMetaData metadata
        start local 2 // java.util.Collection paths
         0: .line 188
            aload 0 /* this */
            aload 1 /* metadata */
            aload 2 /* paths */
            aload 2 /* paths */
            invokeinterface java.util.Collection.size:()I
            anewarray org.apache.cassandra.db.Directories$DataDirectory
            invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectory[]
            invokespecial org.apache.cassandra.db.Directories.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
         1: .line 189
            return
        end local 2 // java.util.Collection paths
        end local 1 // org.apache.cassandra.config.CFMetaData metadata
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/apache/cassandra/db/Directories;
            0    2     1  metadata  Lorg/apache/cassandra/config/CFMetaData;
            0    2     2     paths  Ljava/util/Collection<Lorg/apache/cassandra/db/Directories$DataDirectory;>;
    Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Collection<Lorg/apache/cassandra/db/Directories$DataDirectory;>;)V
    MethodParameters:
          Name  Flags
      metadata  final
      paths     

  public void <init>(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.Directories$DataDirectory[]);
    descriptor: (Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=19, args_size=3
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // org.apache.cassandra.config.CFMetaData metadata
        start local 2 // org.apache.cassandra.db.Directories$DataDirectory[] paths
         0: .line 197
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 199
            aload 0 /* this */
            aload 1 /* metadata */
            putfield org.apache.cassandra.db.Directories.metadata:Lorg/apache/cassandra/config/CFMetaData;
         2: .line 200
            aload 0 /* this */
            aload 2 /* paths */
            putfield org.apache.cassandra.db.Directories.paths:[Lorg/apache/cassandra/db/Directories$DataDirectory;
         3: .line 202
            aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
            invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
            invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
            astore 3 /* cfId */
        start local 3 // java.lang.String cfId
         4: .line 203
            aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
            ldc "."
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 4 /* idx */
        start local 4 // int idx
         5: .line 204
            iload 4 /* idx */
            iflt 6
            aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
            iconst_0
            iload 4 /* idx */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            goto 7
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int
      StackMap stack:
         6: aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         7: astore 5 /* cfName */
        start local 5 // java.lang.String cfName
         8: .line 205
            iload 4 /* idx */
            iflt 9
            aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
            iload 4 /* idx */
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            goto 10
      StackMap locals: java.lang.String
      StackMap stack:
         9: aconst_null
      StackMap locals:
      StackMap stack: java.lang.String
        10: astore 6 /* indexNameWithDot */
        start local 6 // java.lang.String indexNameWithDot
        11: .line 207
            aload 0 /* this */
            aload 2 /* paths */
            arraylength
            anewarray java.io.File
            putfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
        12: .line 209
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 5 /* cfName */
            aastore
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            astore 7 /* oldSSTableRelativePath */
        start local 7 // java.lang.String oldSSTableRelativePath
        13: .line 210
            iconst_0
            istore 8 /* i */
        start local 8 // int i
        14: goto 17
        15: .line 213
      StackMap locals: java.lang.String java.lang.String int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            iload 8 /* i */
            new java.io.File
            dup
            aload 2 /* paths */
            iload 8 /* i */
            aaload
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            aload 7 /* oldSSTableRelativePath */
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            aastore
        16: .line 210
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        17: iload 8 /* i */
            aload 2 /* paths */
            arraylength
            if_icmplt 15
        end local 8 // int i
        18: .line 215
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            new org.apache.cassandra.db.Directories$1
            dup
            aload 0 /* this */
            invokespecial org.apache.cassandra.db.Directories$1.<init>:(Lorg/apache/cassandra/db/Directories;)V
            invokestatic com.google.common.collect.Iterables.any:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
            istore 8 /* olderDirectoryExists */
        start local 8 // boolean olderDirectoryExists
        19: .line 222
            iload 8 /* olderDirectoryExists */
            ifne 26
        20: .line 225
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            aload 1 /* metadata */
            getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
            aastore
            dup
            iconst_1
            new java.lang.StringBuilder
            dup
            aload 5 /* cfName */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            bipush 45
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            aload 3 /* cfId */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aastore
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            astore 9 /* newSSTableRelativePath */
        start local 9 // java.lang.String newSSTableRelativePath
        21: .line 226
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        22: goto 25
        23: .line 227
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int java.lang.String int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            iload 10 /* i */
            new java.io.File
            dup
            aload 2 /* paths */
            iload 10 /* i */
            aaload
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            aload 9 /* newSSTableRelativePath */
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            aastore
        24: .line 226
            iinc 10 /* i */ 1
      StackMap locals:
      StackMap stack:
        25: iload 10 /* i */
            aload 2 /* paths */
            arraylength
            if_icmplt 23
        end local 10 // int i
        end local 9 // java.lang.String newSSTableRelativePath
        26: .line 230
      StackMap locals:
      StackMap stack:
            aload 6 /* indexNameWithDot */
            ifnull 32
        27: .line 232
            iconst_0
            istore 9 /* i */
        start local 9 // int i
        28: goto 31
        29: .line 233
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            iload 9 /* i */
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            iload 9 /* i */
            aaload
            aload 6 /* indexNameWithDot */
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            aastore
        30: .line 232
            iinc 9 /* i */ 1
      StackMap locals:
      StackMap stack:
        31: iload 9 /* i */
            aload 2 /* paths */
            arraylength
            if_icmplt 29
        end local 9 // int i
        32: .line 236
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 12
            arraylength
            istore 11
            iconst_0
            istore 10
            goto 40
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int top int int java.io.File[]
      StackMap stack:
        33: aload 12
            iload 10
            aaload
            astore 9 /* dir */
        start local 9 // java.io.File dir
        34: .line 240
            aload 9 /* dir */
            invokestatic org.apache.cassandra.io.util.FileUtils.createDirectory:(Ljava/io/File;)V
        35: .line 241
            goto 39
        36: .line 242
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int java.io.File int int java.io.File[]
      StackMap stack: org.apache.cassandra.io.FSError
            astore 13 /* e */
        start local 13 // org.apache.cassandra.io.FSError e
        37: .line 245
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Failed to create {} directory"
            aload 9 /* dir */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
        38: .line 246
            aload 13 /* e */
            invokestatic org.apache.cassandra.io.util.FileUtils.handleFSError:(Lorg/apache/cassandra/io/FSError;)V
        end local 13 // org.apache.cassandra.io.FSError e
        end local 9 // java.io.File dir
        39: .line 236
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int top int int java.io.File[]
      StackMap stack:
            iinc 10 1
      StackMap locals:
      StackMap stack:
        40: iload 10
            iload 11
            if_icmplt 33
        41: .line 251
            aload 6 /* indexNameWithDot */
            ifnull 54
        42: .line 253
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 12
            arraylength
            istore 11
            iconst_0
            istore 10
            goto 53
      StackMap locals:
      StackMap stack:
        43: aload 12
            iload 10
            aaload
            astore 9 /* dataPath */
        start local 9 // java.io.File dataPath
        44: .line 255
            aload 9 /* dataPath */
            invokevirtual java.io.File.getParentFile:()Ljava/io/File;
            new org.apache.cassandra.db.Directories$2
            dup
            aload 0 /* this */
            aload 1 /* metadata */
            invokespecial org.apache.cassandra.db.Directories$2.<init>:(Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/config/CFMetaData;)V
            invokevirtual java.io.File.listFiles:(Ljava/io/FileFilter;)[Ljava/io/File;
            astore 13 /* indexFiles */
        start local 13 // java.io.File[] indexFiles
        45: .line 269
            aload 13 /* indexFiles */
            dup
            astore 17
            arraylength
            istore 16
            iconst_0
            istore 15
            goto 51
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int java.io.File int int java.io.File[] java.io.File[] top int int java.io.File[]
      StackMap stack:
        46: aload 17
            iload 15
            aaload
            astore 14 /* indexFile */
        start local 14 // java.io.File indexFile
        47: .line 271
            new java.io.File
            dup
            aload 9 /* dataPath */
            aload 14 /* indexFile */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 18 /* destFile */
        start local 18 // java.io.File destFile
        48: .line 272
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Moving index file {} to {}"
            aload 14 /* indexFile */
            aload 18 /* destFile */
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        49: .line 273
            aload 14 /* indexFile */
            aload 18 /* destFile */
            invokestatic org.apache.cassandra.io.util.FileUtils.renameWithConfirm:(Ljava/io/File;Ljava/io/File;)V
        end local 18 // java.io.File destFile
        end local 14 // java.io.File indexFile
        50: .line 269
            iinc 15 1
      StackMap locals:
      StackMap stack:
        51: iload 15
            iload 16
            if_icmplt 46
        end local 13 // java.io.File[] indexFiles
        end local 9 // java.io.File dataPath
        52: .line 253
            iinc 10 1
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int top int int java.io.File[]
      StackMap stack:
        53: iload 10
            iload 11
            if_icmplt 43
        54: .line 277
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories$DataDirectory[] java.lang.String int java.lang.String java.lang.String java.lang.String int
      StackMap stack:
            return
        end local 8 // boolean olderDirectoryExists
        end local 7 // java.lang.String oldSSTableRelativePath
        end local 6 // java.lang.String indexNameWithDot
        end local 5 // java.lang.String cfName
        end local 4 // int idx
        end local 3 // java.lang.String cfId
        end local 2 // org.apache.cassandra.db.Directories$DataDirectory[] paths
        end local 1 // org.apache.cassandra.config.CFMetaData metadata
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   55     0                    this  Lorg/apache/cassandra/db/Directories;
            0   55     1                metadata  Lorg/apache/cassandra/config/CFMetaData;
            0   55     2                   paths  [Lorg/apache/cassandra/db/Directories$DataDirectory;
            4   55     3                    cfId  Ljava/lang/String;
            5   55     4                     idx  I
            8   55     5                  cfName  Ljava/lang/String;
           11   55     6        indexNameWithDot  Ljava/lang/String;
           13   55     7  oldSSTableRelativePath  Ljava/lang/String;
           14   18     8                       i  I
           19   55     8    olderDirectoryExists  Z
           21   26     9  newSSTableRelativePath  Ljava/lang/String;
           22   26    10                       i  I
           28   32     9                       i  I
           34   39     9                     dir  Ljava/io/File;
           37   39    13                       e  Lorg/apache/cassandra/io/FSError;
           44   52     9                dataPath  Ljava/io/File;
           45   52    13              indexFiles  [Ljava/io/File;
           47   50    14               indexFile  Ljava/io/File;
           48   50    18                destFile  Ljava/io/File;
      Exception table:
        from    to  target  type
          34    35      36  Class org.apache.cassandra.io.FSError
    MethodParameters:
          Name  Flags
      metadata  final
      paths     

  public java.io.File getLocationForDisk(org.apache.cassandra.db.Directories$DataDirectory);
    descriptor: (Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // org.apache.cassandra.db.Directories$DataDirectory dataDirectory
         0: .line 287
            aload 1 /* dataDirectory */
            ifnull 7
         1: .line 288
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 6
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.db.Directories$DataDirectory top int int java.io.File[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* dir */
        start local 2 // java.io.File dir
         3: .line 289
            aload 2 /* dir */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            aload 1 /* dataDirectory */
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 290
            aload 2 /* dir */
            areturn
        end local 2 // java.io.File dir
         5: .line 288
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         6: iload 3
            iload 4
            if_icmplt 2
         7: .line 291
      StackMap locals: org.apache.cassandra.db.Directories org.apache.cassandra.db.Directories$DataDirectory
      StackMap stack:
            aconst_null
            areturn
        end local 1 // org.apache.cassandra.db.Directories$DataDirectory dataDirectory
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lorg/apache/cassandra/db/Directories;
            0    8     1  dataDirectory  Lorg/apache/cassandra/db/Directories$DataDirectory;
            3    5     2            dir  Ljava/io/File;
    MethodParameters:
               Name  Flags
      dataDirectory  

  public org.apache.cassandra.db.Directories$DataDirectory getDataDirectoryForFile(java.io.File);
    descriptor: (Ljava/io/File;)Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.io.File directory
         0: .line 296
            aload 1 /* directory */
            ifnull 7
         1: .line 298
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.paths:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 6
      StackMap locals: org.apache.cassandra.db.Directories java.io.File top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* dataDirectory */
        start local 2 // org.apache.cassandra.db.Directories$DataDirectory dataDirectory
         3: .line 300
            aload 1 /* directory */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            aload 2 /* dataDirectory */
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 301
            aload 2 /* dataDirectory */
            areturn
        end local 2 // org.apache.cassandra.db.Directories$DataDirectory dataDirectory
         5: .line 298
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         6: iload 3
            iload 4
            if_icmplt 2
         7: .line 304
      StackMap locals: org.apache.cassandra.db.Directories java.io.File
      StackMap stack:
            aconst_null
            areturn
        end local 1 // java.io.File directory
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lorg/apache/cassandra/db/Directories;
            0    8     1      directory  Ljava/io/File;
            3    5     2  dataDirectory  Lorg/apache/cassandra/db/Directories$DataDirectory;
    MethodParameters:
           Name  Flags
      directory  

  public org.apache.cassandra.io.sstable.Descriptor find(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/Descriptor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.lang.String filename
         0: .line 309
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: org.apache.cassandra.db.Directories java.lang.String top int int java.io.File[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* dir */
        start local 2 // java.io.File dir
         2: .line 311
            new java.io.File
            dup
            aload 2 /* dir */
            aload 1 /* filename */
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            invokevirtual java.io.File.exists:()Z
            ifeq 4
         3: .line 312
            aload 2 /* dir */
            aload 1 /* filename */
            invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/io/File;Ljava/lang/String;)Lorg/apache/cassandra/utils/Pair;
            getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
            checkcast org.apache.cassandra.io.sstable.Descriptor
            areturn
        end local 2 // java.io.File dir
         4: .line 309
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 1
         6: .line 314
            aconst_null
            areturn
        end local 1 // java.lang.String filename
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lorg/apache/cassandra/db/Directories;
            0    7     1  filename  Ljava/lang/String;
            2    4     2       dir  Ljava/io/File;
    MethodParameters:
          Name  Flags
      filename  

  public java.io.File getDirectoryForNewSSTables();
    descriptor: ()Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 326
            aload 0 /* this */
            ldc -1
            invokevirtual org.apache.cassandra.db.Directories.getWriteableLocationAsFile:(J)Ljava/io/File;
            areturn
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/db/Directories;

  public java.io.File getWriteableLocationAsFile(long);
    descriptor: (J)Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=4, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // long writeSize
         0: .line 336
            aload 0 /* this */
            aload 0 /* this */
            lload 1 /* writeSize */
            invokevirtual org.apache.cassandra.db.Directories.getWriteableLocation:(J)Lorg/apache/cassandra/db/Directories$DataDirectory;
            invokevirtual org.apache.cassandra.db.Directories.getLocationForDisk:(Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
            astore 3 /* location */
        start local 3 // java.io.File location
         1: .line 337
            aload 3 /* location */
            ifnonnull 3
         2: .line 338
            new org.apache.cassandra.io.FSWriteError
            dup
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "No configured data directory contains enough space to write "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 1 /* writeSize */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " bytes"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            ldc ""
            invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
            athrow
         3: .line 339
      StackMap locals: java.io.File
      StackMap stack:
            aload 3 /* location */
            areturn
        end local 3 // java.io.File location
        end local 1 // long writeSize
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lorg/apache/cassandra/db/Directories;
            0    4     1  writeSize  J
            1    4     3   location  Ljava/io/File;
    MethodParameters:
           Name  Flags
      writeSize  

  public java.io.File getTemporaryWriteableDirectoryAsFile(long);
    descriptor: (J)Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // long writeSize
         0: .line 351
            aload 0 /* this */
            aload 0 /* this */
            lload 1 /* writeSize */
            invokevirtual org.apache.cassandra.db.Directories.getWriteableLocation:(J)Lorg/apache/cassandra/db/Directories$DataDirectory;
            invokevirtual org.apache.cassandra.db.Directories.getLocationForDisk:(Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
            astore 3 /* location */
        start local 3 // java.io.File location
         1: .line 352
            aload 3 /* location */
            ifnonnull 3
         2: .line 353
            aconst_null
            areturn
         3: .line 354
      StackMap locals: java.io.File
      StackMap stack:
            new java.io.File
            dup
            aload 3 /* location */
            ldc "tmp"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            areturn
        end local 3 // java.io.File location
        end local 1 // long writeSize
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lorg/apache/cassandra/db/Directories;
            0    4     1  writeSize  J
            1    4     3   location  Ljava/io/File;
    MethodParameters:
           Name  Flags
      writeSize  

  public void removeTemporaryDirectories();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 359
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 4
            arraylength
            istore 3
            iconst_0
            istore 2
            goto 7
      StackMap locals: org.apache.cassandra.db.Directories top int int java.io.File[]
      StackMap stack:
         1: aload 4
            iload 2
            aaload
            astore 1 /* dataDir */
        start local 1 // java.io.File dataDir
         2: .line 361
            new java.io.File
            dup
            aload 1 /* dataDir */
            ldc "tmp"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 5 /* tmpDir */
        start local 5 // java.io.File tmpDir
         3: .line 362
            aload 5 /* tmpDir */
            invokevirtual java.io.File.exists:()Z
            ifeq 6
         4: .line 364
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Removing temporary directory {}"
            aload 5 /* tmpDir */
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
         5: .line 365
            aload 5 /* tmpDir */
            invokestatic org.apache.cassandra.io.util.FileUtils.deleteRecursive:(Ljava/io/File;)V
        end local 5 // java.io.File tmpDir
        end local 1 // java.io.File dataDir
         6: .line 359
      StackMap locals:
      StackMap stack:
            iinc 2 1
      StackMap locals:
      StackMap stack:
         7: iload 2
            iload 3
            if_icmplt 1
         8: .line 368
            return
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lorg/apache/cassandra/db/Directories;
            2    6     1  dataDir  Ljava/io/File;
            3    6     5   tmpDir  Ljava/io/File;

  public org.apache.cassandra.db.Directories$DataDirectory getWriteableLocation(long);
    descriptor: (J)Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=12, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // long writeSize
         0: .line 378
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* candidates */
        start local 3 // java.util.List candidates
         1: .line 380
            lconst_0
            lstore 4 /* totalAvailable */
        start local 4 // long totalAvailable
         2: .line 383
            iconst_0
            istore 6 /* tooBig */
        start local 6 // boolean tooBig
         3: .line 384
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.paths:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            dup
            astore 10
            arraylength
            istore 9
            iconst_0
            istore 8
            goto 16
      StackMap locals: org.apache.cassandra.db.Directories long java.util.List long int top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
         4: aload 10
            iload 8
            aaload
            astore 7 /* dataDir */
        start local 7 // org.apache.cassandra.db.Directories$DataDirectory dataDir
         5: .line 386
            aload 0 /* this */
            aload 7 /* dataDir */
            invokevirtual org.apache.cassandra.db.Directories.getLocationForDisk:(Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
            invokestatic org.apache.cassandra.db.BlacklistedDirectories.isUnwritable:(Ljava/io/File;)Z
            ifeq 8
         6: .line 388
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "removing blacklisted candidate {}"
            aload 7 /* dataDir */
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 389
            goto 15
         8: .line 391
      StackMap locals: org.apache.cassandra.db.Directories long java.util.List long int org.apache.cassandra.db.Directories$DataDirectory int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
            new org.apache.cassandra.db.Directories$DataDirectoryCandidate
            dup
            aload 7 /* dataDir */
            invokespecial org.apache.cassandra.db.Directories$DataDirectoryCandidate.<init>:(Lorg/apache/cassandra/db/Directories$DataDirectory;)V
            astore 11 /* candidate */
        start local 11 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
         9: .line 393
            aload 11 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
            lload 1 /* writeSize */
            lcmp
            ifge 13
        10: .line 395
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "removing candidate {}, usable={}, requested={}"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 11 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.dataDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            aastore
            dup
            iconst_1
            aload 11 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_2
            lload 1 /* writeSize */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
        11: .line 396
            iconst_1
            istore 6 /* tooBig */
        12: .line 397
            goto 15
        13: .line 399
      StackMap locals: org.apache.cassandra.db.Directories$DataDirectoryCandidate
      StackMap stack:
            aload 3 /* candidates */
            aload 11 /* candidate */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        14: .line 400
            lload 4 /* totalAvailable */
            aload 11 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
            ladd
            lstore 4 /* totalAvailable */
        end local 11 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
        end local 7 // org.apache.cassandra.db.Directories$DataDirectory dataDir
        15: .line 384
      StackMap locals: org.apache.cassandra.db.Directories long java.util.List long int top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
            iinc 8 1
      StackMap locals:
      StackMap stack:
        16: iload 8
            iload 9
            if_icmplt 4
        17: .line 403
            aload 3 /* candidates */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 21
        18: .line 404
            iload 6 /* tooBig */
            ifeq 20
        19: .line 405
            new org.apache.cassandra.io.FSDiskFullWriteError
            dup
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Insufficient disk space to write "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 1 /* writeSize */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " bytes"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            ldc ""
            invokespecial org.apache.cassandra.io.FSDiskFullWriteError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
            athrow
        20: .line 407
      StackMap locals: org.apache.cassandra.db.Directories long java.util.List long int
      StackMap stack:
            new org.apache.cassandra.io.FSWriteError
            dup
            new java.io.IOException
            dup
            ldc "All configured data directories have been blacklisted as unwritable for erroring out"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            ldc ""
            invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
            athrow
        21: .line 410
      StackMap locals:
      StackMap stack:
            aload 3 /* candidates */
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmpne 23
        22: .line 411
            aload 3 /* candidates */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectoryCandidate
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.dataDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
            areturn
        23: .line 413
      StackMap locals:
      StackMap stack:
            aload 3 /* candidates */
            lload 4 /* totalAvailable */
            invokestatic org.apache.cassandra.db.Directories.sortWriteableCandidates:(Ljava/util/List;J)V
        24: .line 415
            aload 3 /* candidates */
            invokestatic org.apache.cassandra.db.Directories.pickWriteableDirectory:(Ljava/util/List;)Lorg/apache/cassandra/db/Directories$DataDirectory;
            areturn
        end local 6 // boolean tooBig
        end local 4 // long totalAvailable
        end local 3 // java.util.List candidates
        end local 1 // long writeSize
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   25     0            this  Lorg/apache/cassandra/db/Directories;
            0   25     1       writeSize  J
            1   25     3      candidates  Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;>;
            2   25     4  totalAvailable  J
            3   25     6          tooBig  Z
            5   15     7         dataDir  Lorg/apache/cassandra/db/Directories$DataDirectory;
            9   15    11       candidate  Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
    MethodParameters:
           Name  Flags
      writeSize  

  static org.apache.cassandra.db.Directories$DataDirectory pickWriteableDirectory(java.util.List<org.apache.cassandra.db.Directories$DataDirectoryCandidate>);
    descriptor: (Ljava/util/List;)Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // java.util.List candidates
         0: .line 422
            invokestatic java.util.concurrent.ThreadLocalRandom.current:()Ljava/util/concurrent/ThreadLocalRandom;
            invokevirtual java.util.concurrent.ThreadLocalRandom.nextDouble:()D
            dstore 1 /* rnd */
        start local 1 // double rnd
         1: .line 423
            aload 0 /* candidates */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: java.util.List double top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectoryCandidate
            astore 3 /* candidate */
        start local 3 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
         3: .line 425
            dload 1 /* rnd */
            aload 3 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.perc:D
            dsub
            dstore 1 /* rnd */
         4: .line 426
            dload 1 /* rnd */
            dconst_0
            dcmpg
            ifgt 6
         5: .line 427
            aload 3 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.dataDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
            areturn
        end local 3 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
         6: .line 423
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 431
            aload 0 /* candidates */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectoryCandidate
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.dataDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
            areturn
        end local 1 // double rnd
        end local 0 // java.util.List candidates
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0  candidates  Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;>;
            1    8     1         rnd  D
            3    6     3   candidate  Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
    Signature: (Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;>;)Lorg/apache/cassandra/db/Directories$DataDirectory;
    MethodParameters:
            Name  Flags
      candidates  

  static void sortWriteableCandidates(java.util.List<org.apache.cassandra.db.Directories$DataDirectoryCandidate>, );
    descriptor: (Ljava/util/List;J)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // java.util.List candidates
        start local 1 // long totalAvailable
         0: .line 438
            aload 0 /* candidates */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 3
      StackMap locals: java.util.List long top java.util.Iterator
      StackMap stack:
         1: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectoryCandidate
            astore 3 /* candidate */
        start local 3 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
         2: .line 439
            aload 3 /* candidate */
            lload 1 /* totalAvailable */
            invokevirtual org.apache.cassandra.db.Directories$DataDirectoryCandidate.calcFreePerc:(J)V
        end local 3 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
         3: .line 438
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 442
            aload 0 /* candidates */
            invokestatic java.util.Collections.sort:(Ljava/util/List;)V
         5: .line 443
            return
        end local 1 // long totalAvailable
        end local 0 // java.util.List candidates
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0      candidates  Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;>;
            0    6     1  totalAvailable  J
            2    3     3       candidate  Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
    Signature: (Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;>;J)V
    MethodParameters:
                Name  Flags
      candidates      
      totalAvailable  

  public boolean hasAvailableDiskSpace(long, long);
    descriptor: (JJ)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=14, args_size=3
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // long estimatedSSTables
        start local 3 // long expectedTotalWriteSize
         0: .line 447
            lload 3 /* expectedTotalWriteSize */
            lload 1 /* estimatedSSTables */
            ldiv
            lstore 5 /* writeSize */
        start local 5 // long writeSize
         1: .line 448
            lconst_0
            lstore 7 /* totalAvailable */
        start local 7 // long totalAvailable
         2: .line 450
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.paths:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            dup
            astore 12
            arraylength
            istore 11
            iconst_0
            istore 10
            goto 11
      StackMap locals: org.apache.cassandra.db.Directories long long long long top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
         3: aload 12
            iload 10
            aaload
            astore 9 /* dataDir */
        start local 9 // org.apache.cassandra.db.Directories$DataDirectory dataDir
         4: .line 452
            aload 0 /* this */
            aload 9 /* dataDir */
            invokevirtual org.apache.cassandra.db.Directories.getLocationForDisk:(Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
            invokestatic org.apache.cassandra.db.BlacklistedDirectories.isUnwritable:(Ljava/io/File;)Z
            ifeq 6
         5: .line 453
            goto 10
         6: .line 454
      StackMap locals: org.apache.cassandra.db.Directories long long long long org.apache.cassandra.db.Directories$DataDirectory int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
            new org.apache.cassandra.db.Directories$DataDirectoryCandidate
            dup
            aload 9 /* dataDir */
            invokespecial org.apache.cassandra.db.Directories$DataDirectoryCandidate.<init>:(Lorg/apache/cassandra/db/Directories$DataDirectory;)V
            astore 13 /* candidate */
        start local 13 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
         7: .line 456
            aload 13 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
            lload 5 /* writeSize */
            lcmp
            ifge 9
         8: .line 457
            goto 10
         9: .line 458
      StackMap locals: org.apache.cassandra.db.Directories$DataDirectoryCandidate
      StackMap stack:
            lload 7 /* totalAvailable */
            aload 13 /* candidate */
            getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
            ladd
            lstore 7 /* totalAvailable */
        end local 13 // org.apache.cassandra.db.Directories$DataDirectoryCandidate candidate
        end local 9 // org.apache.cassandra.db.Directories$DataDirectory dataDir
        10: .line 450
      StackMap locals: org.apache.cassandra.db.Directories long long long long top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
            iinc 10 1
      StackMap locals:
      StackMap stack:
        11: iload 10
            iload 11
            if_icmplt 3
        12: .line 460
            lload 7 /* totalAvailable */
            lload 3 /* expectedTotalWriteSize */
            lcmp
            ifle 13
            iconst_1
            ireturn
      StackMap locals: org.apache.cassandra.db.Directories long long long long
      StackMap stack:
        13: iconst_0
            ireturn
        end local 7 // long totalAvailable
        end local 5 // long writeSize
        end local 3 // long expectedTotalWriteSize
        end local 1 // long estimatedSSTables
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   14     0                    this  Lorg/apache/cassandra/db/Directories;
            0   14     1       estimatedSSTables  J
            0   14     3  expectedTotalWriteSize  J
            1   14     5               writeSize  J
            2   14     7          totalAvailable  J
            4   10     9                 dataDir  Lorg/apache/cassandra/db/Directories$DataDirectory;
            7   10    13               candidate  Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
    MethodParameters:
                        Name  Flags
      estimatedSSTables       
      expectedTotalWriteSize  

  public org.apache.cassandra.db.Directories$DataDirectory[] getWriteableLocations();
    descriptor: ()[Lorg/apache/cassandra/db/Directories$DataDirectory;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 465
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* nonBlacklistedDirs */
        start local 1 // java.util.List nonBlacklistedDirs
         1: .line 466
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.paths:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 6
      StackMap locals: org.apache.cassandra.db.Directories java.util.List top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* dir */
        start local 2 // org.apache.cassandra.db.Directories$DataDirectory dir
         3: .line 468
            aload 2 /* dir */
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            invokestatic org.apache.cassandra.db.BlacklistedDirectories.isUnwritable:(Ljava/io/File;)Z
            ifne 5
         4: .line 469
            aload 1 /* nonBlacklistedDirs */
            aload 2 /* dir */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // org.apache.cassandra.db.Directories$DataDirectory dir
         5: .line 466
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         6: iload 3
            iload 4
            if_icmplt 2
         7: .line 472
            aload 1 /* nonBlacklistedDirs */
            new org.apache.cassandra.db.Directories$3
            dup
            aload 0 /* this */
            invokespecial org.apache.cassandra.db.Directories$3.<init>:(Lorg/apache/cassandra/db/Directories;)V
            invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
         8: .line 480
            aload 1 /* nonBlacklistedDirs */
            aload 1 /* nonBlacklistedDirs */
            invokeinterface java.util.List.size:()I
            anewarray org.apache.cassandra.db.Directories$DataDirectory
            invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast org.apache.cassandra.db.Directories$DataDirectory[]
            areturn
        end local 1 // java.util.List nonBlacklistedDirs
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    9     0                this  Lorg/apache/cassandra/db/Directories;
            1    9     1  nonBlacklistedDirs  Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectory;>;
            3    5     2                 dir  Lorg/apache/cassandra/db/Directories$DataDirectory;

  public static java.io.File getSnapshotDirectory(org.apache.cassandra.io.sstable.Descriptor, java.lang.String);
    descriptor: (Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/lang/String;)Ljava/io/File;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.sstable.Descriptor desc
        start local 1 // java.lang.String snapshotName
         0: .line 485
            aload 0 /* desc */
            getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
            aload 1 /* snapshotName */
            invokestatic org.apache.cassandra.db.Directories.getSnapshotDirectory:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
            areturn
        end local 1 // java.lang.String snapshotName
        end local 0 // org.apache.cassandra.io.sstable.Descriptor desc
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0          desc  Lorg/apache/cassandra/io/sstable/Descriptor;
            0    1     1  snapshotName  Ljava/lang/String;
    MethodParameters:
              Name  Flags
      desc          
      snapshotName  

  public static java.io.File getSnapshotDirectory(java.io.File, java.lang.String);
    descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.io.File location
        start local 1 // java.lang.String snapshotName
         0: .line 501
            aload 0 /* location */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            ldc "."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 503
            aload 0 /* location */
            invokevirtual java.io.File.getParentFile:()Ljava/io/File;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "snapshots"
            aastore
            dup
            iconst_1
            aload 1 /* snapshotName */
            aastore
            dup
            iconst_2
            aload 0 /* location */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            aastore
            invokestatic org.apache.cassandra.db.Directories.getOrCreate:(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;
            areturn
         2: .line 507
      StackMap locals:
      StackMap stack:
            aload 0 /* location */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "snapshots"
            aastore
            dup
            iconst_1
            aload 1 /* snapshotName */
            aastore
            invokestatic org.apache.cassandra.db.Directories.getOrCreate:(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;
            areturn
        end local 1 // java.lang.String snapshotName
        end local 0 // java.io.File location
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0      location  Ljava/io/File;
            0    3     1  snapshotName  Ljava/lang/String;
    MethodParameters:
              Name  Flags
      location      
      snapshotName  

  public java.io.File getSnapshotManifestFile(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.lang.String snapshotName
         0: .line 513
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.Directories.getDirectoryForNewSSTables:()Ljava/io/File;
            aload 1 /* snapshotName */
            invokestatic org.apache.cassandra.db.Directories.getSnapshotDirectory:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
            astore 2 /* snapshotDir */
        start local 2 // java.io.File snapshotDir
         1: .line 514
            new java.io.File
            dup
            aload 2 /* snapshotDir */
            ldc "manifest.json"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            areturn
        end local 2 // java.io.File snapshotDir
        end local 1 // java.lang.String snapshotName
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/apache/cassandra/db/Directories;
            0    2     1  snapshotName  Ljava/lang/String;
            1    2     2   snapshotDir  Ljava/io/File;
    MethodParameters:
              Name  Flags
      snapshotName  

  public java.io.File getSnapshotSchemaFile(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.lang.String snapshotName
         0: .line 519
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.Directories.getDirectoryForNewSSTables:()Ljava/io/File;
            aload 1 /* snapshotName */
            invokestatic org.apache.cassandra.db.Directories.getSnapshotDirectory:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
            astore 2 /* snapshotDir */
        start local 2 // java.io.File snapshotDir
         1: .line 520
            new java.io.File
            dup
            aload 2 /* snapshotDir */
            ldc "schema.cql"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            areturn
        end local 2 // java.io.File snapshotDir
        end local 1 // java.lang.String snapshotName
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/apache/cassandra/db/Directories;
            0    2     1  snapshotName  Ljava/lang/String;
            1    2     2   snapshotDir  Ljava/io/File;
    MethodParameters:
              Name  Flags
      snapshotName  

  public java.io.File getNewEphemeralSnapshotMarkerFile(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.lang.String snapshotName
         0: .line 525
            new java.io.File
            dup
            aload 0 /* this */
            lconst_1
            invokevirtual org.apache.cassandra.db.Directories.getWriteableLocationAsFile:(J)Ljava/io/File;
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "snapshots"
            aastore
            dup
            iconst_1
            aload 1 /* snapshotName */
            aastore
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 2 /* snapshotDir */
        start local 2 // java.io.File snapshotDir
         1: .line 526
            aload 2 /* snapshotDir */
            invokestatic org.apache.cassandra.db.Directories.getEphemeralSnapshotMarkerFile:(Ljava/io/File;)Ljava/io/File;
            areturn
        end local 2 // java.io.File snapshotDir
        end local 1 // java.lang.String snapshotName
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/apache/cassandra/db/Directories;
            0    2     1  snapshotName  Ljava/lang/String;
            1    2     2   snapshotDir  Ljava/io/File;
    MethodParameters:
              Name  Flags
      snapshotName  

  private static java.io.File getEphemeralSnapshotMarkerFile(java.io.File);
    descriptor: (Ljava/io/File;)Ljava/io/File;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.io.File snapshotDirectory
         0: .line 531
            new java.io.File
            dup
            aload 0 /* snapshotDirectory */
            ldc "ephemeral.snapshot"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            areturn
        end local 0 // java.io.File snapshotDirectory
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    1     0  snapshotDirectory  Ljava/io/File;
    MethodParameters:
                   Name  Flags
      snapshotDirectory  

  public static java.io.File getBackupsDirectory(org.apache.cassandra.io.sstable.Descriptor);
    descriptor: (Lorg/apache/cassandra/io/sstable/Descriptor;)Ljava/io/File;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.sstable.Descriptor desc
         0: .line 536
            aload 0 /* desc */
            getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
            invokestatic org.apache.cassandra.db.Directories.getBackupsDirectory:(Ljava/io/File;)Ljava/io/File;
            areturn
        end local 0 // org.apache.cassandra.io.sstable.Descriptor desc
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  desc  Lorg/apache/cassandra/io/sstable/Descriptor;
    MethodParameters:
      Name  Flags
      desc  

  public static java.io.File getBackupsDirectory(java.io.File);
    descriptor: (Ljava/io/File;)Ljava/io/File;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.io.File location
         0: .line 541
            aload 0 /* location */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            ldc "."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 543
            aload 0 /* location */
            invokevirtual java.io.File.getParentFile:()Ljava/io/File;
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "backups"
            aastore
            dup
            iconst_1
            aload 0 /* location */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            aastore
            invokestatic org.apache.cassandra.db.Directories.getOrCreate:(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;
            areturn
         2: .line 547
      StackMap locals:
      StackMap stack:
            aload 0 /* location */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "backups"
            aastore
            invokestatic org.apache.cassandra.db.Directories.getOrCreate:(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;
            areturn
        end local 0 // java.io.File location
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0  location  Ljava/io/File;
    MethodParameters:
          Name  Flags
      location  

  public org.apache.cassandra.db.Directories$SSTableLister sstableLister(org.apache.cassandra.db.Directories$OnTxnErr);
    descriptor: (Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // org.apache.cassandra.db.Directories$OnTxnErr onTxnErr
         0: .line 652
            new org.apache.cassandra.db.Directories$SSTableLister
            dup
            aload 0 /* this */
            aload 1 /* onTxnErr */
            invokespecial org.apache.cassandra.db.Directories$SSTableLister.<init>:(Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/Directories$OnTxnErr;)V
            areturn
        end local 1 // org.apache.cassandra.db.Directories$OnTxnErr onTxnErr
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lorg/apache/cassandra/db/Directories;
            0    1     1  onTxnErr  Lorg/apache/cassandra/db/Directories$OnTxnErr;
    MethodParameters:
          Name  Flags
      onTxnErr  

  public java.util.Map<java.lang.String, org.apache.cassandra.utils.Pair<java.lang.Long, java.lang.Long>> getSnapshotDetails();
    descriptor: ()Ljava/util/Map;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=9, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 814
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 1 /* snapshotSpaceMap */
        start local 1 // java.util.Map snapshotSpaceMap
         1: .line 815
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.Directories.listSnapshots:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 10
      StackMap locals: org.apache.cassandra.db.Directories java.util.Map top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.io.File
            astore 2 /* snapshot */
        start local 2 // java.io.File snapshot
         3: .line 817
            aload 2 /* snapshot */
            invokestatic org.apache.cassandra.io.util.FileUtils.folderSize:(Ljava/io/File;)J
            lstore 4 /* sizeOnDisk */
        start local 4 // long sizeOnDisk
         4: .line 818
            aload 0 /* this */
            aload 2 /* snapshot */
            invokevirtual org.apache.cassandra.db.Directories.getTrueAllocatedSizeIn:(Ljava/io/File;)J
            lstore 6 /* trueSize */
        start local 6 // long trueSize
         5: .line 819
            aload 1 /* snapshotSpaceMap */
            aload 2 /* snapshot */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.cassandra.utils.Pair
            astore 8 /* spaceUsed */
        start local 8 // org.apache.cassandra.utils.Pair spaceUsed
         6: .line 820
            aload 8 /* spaceUsed */
            ifnonnull 8
         7: .line 821
            lload 4 /* sizeOnDisk */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            lload 6 /* trueSize */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
            astore 8 /* spaceUsed */
            goto 9
         8: .line 823
      StackMap locals: org.apache.cassandra.db.Directories java.util.Map java.io.File java.util.Iterator long long org.apache.cassandra.utils.Pair
      StackMap stack:
            aload 8 /* spaceUsed */
            getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            lload 4 /* sizeOnDisk */
            ladd
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aload 8 /* spaceUsed */
            getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            lload 6 /* trueSize */
            ladd
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
            astore 8 /* spaceUsed */
         9: .line 824
      StackMap locals:
      StackMap stack:
            aload 1 /* snapshotSpaceMap */
            aload 2 /* snapshot */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            aload 8 /* spaceUsed */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 8 // org.apache.cassandra.utils.Pair spaceUsed
        end local 6 // long trueSize
        end local 4 // long sizeOnDisk
        end local 2 // java.io.File snapshot
        10: .line 815
      StackMap locals: org.apache.cassandra.db.Directories java.util.Map top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        11: .line 826
            aload 1 /* snapshotSpaceMap */
            areturn
        end local 1 // java.util.Map snapshotSpaceMap
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0              this  Lorg/apache/cassandra/db/Directories;
            1   12     1  snapshotSpaceMap  Ljava/util/Map<Ljava/lang/String;Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;
            3   10     2          snapshot  Ljava/io/File;
            4   10     4        sizeOnDisk  J
            5   10     6          trueSize  J
            6   10     8         spaceUsed  Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;
    Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;

  public java.util.List<java.lang.String> listEphemeralSnapshots();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 831
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 1 /* ephemeralSnapshots */
        start local 1 // java.util.List ephemeralSnapshots
         1: .line 832
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.Directories.listSnapshots:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: org.apache.cassandra.db.Directories java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.io.File
            astore 2 /* snapshot */
        start local 2 // java.io.File snapshot
         3: .line 834
            aload 2 /* snapshot */
            invokestatic org.apache.cassandra.db.Directories.getEphemeralSnapshotMarkerFile:(Ljava/io/File;)Ljava/io/File;
            invokevirtual java.io.File.exists:()Z
            ifeq 5
         4: .line 835
            aload 1 /* ephemeralSnapshots */
            aload 2 /* snapshot */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.io.File snapshot
         5: .line 832
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 837
            aload 1 /* ephemeralSnapshots */
            areturn
        end local 1 // java.util.List ephemeralSnapshots
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    7     0                this  Lorg/apache/cassandra/db/Directories;
            1    7     1  ephemeralSnapshots  Ljava/util/List<Ljava/lang/String;>;
            3    5     2            snapshot  Ljava/io/File;
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  private java.util.List<java.io.File> listSnapshots();
    descriptor: ()Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=12, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 842
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 1 /* snapshots */
        start local 1 // java.util.List snapshots
         1: .line 843
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 17
      StackMap locals: org.apache.cassandra.db.Directories java.util.List top int int java.io.File[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* dir */
        start local 2 // java.io.File dir
         3: .line 845
            aload 2 /* dir */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            ldc "."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 846
            new java.io.File
            dup
            aload 2 /* dir */
            invokevirtual java.io.File.getParent:()Ljava/lang/String;
            ldc "snapshots"
            invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            goto 6
         5: .line 847
      StackMap locals: org.apache.cassandra.db.Directories java.util.List java.io.File int int java.io.File[]
      StackMap stack:
            new java.io.File
            dup
            aload 2 /* dir */
            ldc "snapshots"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
         6: .line 845
      StackMap locals:
      StackMap stack: java.io.File
            astore 6 /* snapshotDir */
        start local 6 // java.io.File snapshotDir
         7: .line 848
            aload 6 /* snapshotDir */
            invokevirtual java.io.File.exists:()Z
            ifeq 16
            aload 6 /* snapshotDir */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 16
         8: .line 850
            aload 6 /* snapshotDir */
            invokevirtual java.io.File.listFiles:()[Ljava/io/File;
            astore 7 /* snapshotDirs */
        start local 7 // java.io.File[] snapshotDirs
         9: .line 851
            aload 7 /* snapshotDirs */
            ifnull 16
        10: .line 853
            aload 7 /* snapshotDirs */
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 15
      StackMap locals: org.apache.cassandra.db.Directories java.util.List java.io.File int int java.io.File[] java.io.File java.io.File[] top int int java.io.File[]
      StackMap stack:
        11: aload 11
            iload 9
            aaload
            astore 8 /* snapshot */
        start local 8 // java.io.File snapshot
        12: .line 855
            aload 8 /* snapshot */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 14
        13: .line 856
            aload 1 /* snapshots */
            aload 8 /* snapshot */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 8 // java.io.File snapshot
        14: .line 853
      StackMap locals:
      StackMap stack:
            iinc 9 1
      StackMap locals:
      StackMap stack:
        15: iload 9
            iload 10
            if_icmplt 11
        end local 7 // java.io.File[] snapshotDirs
        end local 6 // java.io.File snapshotDir
        end local 2 // java.io.File dir
        16: .line 843
      StackMap locals: org.apache.cassandra.db.Directories java.util.List top int int java.io.File[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
        17: iload 3
            iload 4
            if_icmplt 2
        18: .line 862
            aload 1 /* snapshots */
            areturn
        end local 1 // java.util.List snapshots
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   19     0          this  Lorg/apache/cassandra/db/Directories;
            1   19     1     snapshots  Ljava/util/List<Ljava/io/File;>;
            3   16     2           dir  Ljava/io/File;
            7   16     6   snapshotDir  Ljava/io/File;
            9   16     7  snapshotDirs  [Ljava/io/File;
           12   14     8      snapshot  Ljava/io/File;
    Signature: ()Ljava/util/List<Ljava/io/File;>;

  public boolean snapshotExists(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=7, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.lang.String snapshotName
         0: .line 867
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 9
      StackMap locals: org.apache.cassandra.db.Directories java.lang.String top int int java.io.File[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* dir */
        start local 2 // java.io.File dir
         2: .line 870
            aload 2 /* dir */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            ldc "."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         3: .line 872
            new java.io.File
            dup
            aload 2 /* dir */
            invokevirtual java.io.File.getParentFile:()Ljava/io/File;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "snapshots"
            aastore
            dup
            iconst_1
            aload 1 /* snapshotName */
            aastore
            dup
            iconst_2
            aload 2 /* dir */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            aastore
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 6 /* snapshotDir */
        start local 6 // java.io.File snapshotDir
         4: .line 873
            goto 6
        end local 6 // java.io.File snapshotDir
         5: .line 876
      StackMap locals: org.apache.cassandra.db.Directories java.lang.String java.io.File int int java.io.File[]
      StackMap stack:
            new java.io.File
            dup
            aload 2 /* dir */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "snapshots"
            aastore
            dup
            iconst_1
            aload 1 /* snapshotName */
            aastore
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 6 /* snapshotDir */
        start local 6 // java.io.File snapshotDir
         6: .line 878
      StackMap locals: java.io.File
      StackMap stack:
            aload 6 /* snapshotDir */
            invokevirtual java.io.File.exists:()Z
            ifeq 8
         7: .line 879
            iconst_1
            ireturn
        end local 6 // java.io.File snapshotDir
        end local 2 // java.io.File dir
         8: .line 867
      StackMap locals: org.apache.cassandra.db.Directories java.lang.String top int int java.io.File[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         9: iload 3
            iload 4
            if_icmplt 1
        10: .line 881
            iconst_0
            ireturn
        end local 1 // java.lang.String snapshotName
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lorg/apache/cassandra/db/Directories;
            0   11     1  snapshotName  Ljava/lang/String;
            2    8     2           dir  Ljava/io/File;
            4    5     6   snapshotDir  Ljava/io/File;
            6    8     6   snapshotDir  Ljava/io/File;
    MethodParameters:
              Name  Flags
      snapshotName  

  public static void clearSnapshot(java.lang.String, java.util.List<java.io.File>);
    descriptor: (Ljava/lang/String;Ljava/util/List;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=7, args_size=2
        start local 0 // java.lang.String snapshotName
        start local 1 // java.util.List snapshotDirectories
         0: .line 887
            aload 0 /* snapshotName */
            ifnonnull 1
            ldc ""
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* snapshotName */
      StackMap locals:
      StackMap stack: java.lang.String
         2: astore 2 /* tag */
        start local 2 // java.lang.String tag
         3: .line 888
            aload 1 /* snapshotDirectories */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 14
      StackMap locals: java.lang.String java.util.List java.lang.String top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.io.File
            astore 3 /* dir */
        start local 3 // java.io.File dir
         5: .line 890
            new java.io.File
            dup
            aload 3 /* dir */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "snapshots"
            aastore
            dup
            iconst_1
            aload 2 /* tag */
            aastore
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 5 /* snapshotDir */
        start local 5 // java.io.File snapshotDir
         6: .line 891
            aload 5 /* snapshotDir */
            invokevirtual java.io.File.exists:()Z
            ifeq 14
         7: .line 893
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Removing snapshot directory {}"
            aload 5 /* snapshotDir */
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
         8: .line 896
            aload 5 /* snapshotDir */
            invokestatic org.apache.cassandra.io.util.FileUtils.deleteRecursive:(Ljava/io/File;)V
         9: .line 897
            goto 14
        10: .line 898
      StackMap locals: java.lang.String java.util.List java.lang.String java.io.File java.util.Iterator java.io.File
      StackMap stack: org.apache.cassandra.io.FSWriteError
            astore 6 /* e */
        start local 6 // org.apache.cassandra.io.FSWriteError e
        11: .line 900
            getstatic org.apache.cassandra.utils.FBUtilities.isWindows:Z
            ifeq 13
        12: .line 901
            aload 5 /* snapshotDir */
            invokestatic org.apache.cassandra.io.sstable.SnapshotDeletingTask.addFailedSnapshot:(Ljava/io/File;)V
            goto 14
        13: .line 903
      StackMap locals: org.apache.cassandra.io.FSWriteError
      StackMap stack:
            aload 6 /* e */
            athrow
        end local 6 // org.apache.cassandra.io.FSWriteError e
        end local 5 // java.io.File snapshotDir
        end local 3 // java.io.File dir
        14: .line 888
      StackMap locals: java.lang.String java.util.List java.lang.String top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        15: .line 907
            return
        end local 2 // java.lang.String tag
        end local 1 // java.util.List snapshotDirectories
        end local 0 // java.lang.String snapshotName
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   16     0         snapshotName  Ljava/lang/String;
            0   16     1  snapshotDirectories  Ljava/util/List<Ljava/io/File;>;
            3   16     2                  tag  Ljava/lang/String;
            5   14     3                  dir  Ljava/io/File;
            6   14     5          snapshotDir  Ljava/io/File;
           11   14     6                    e  Lorg/apache/cassandra/io/FSWriteError;
      Exception table:
        from    to  target  type
           8     9      10  Class org.apache.cassandra.io.FSWriteError
    Signature: (Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;)V
    MethodParameters:
                     Name  Flags
      snapshotName         
      snapshotDirectories  

  public long snapshotCreationTime(java.lang.String);
    descriptor: (Ljava/lang/String;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.lang.String snapshotName
         0: .line 912
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 6
      StackMap locals: org.apache.cassandra.db.Directories java.lang.String top int int java.io.File[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* dir */
        start local 2 // java.io.File dir
         2: .line 914
            aload 2 /* dir */
            aload 1 /* snapshotName */
            invokestatic org.apache.cassandra.db.Directories.getSnapshotDirectory:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
            astore 6 /* snapshotDir */
        start local 6 // java.io.File snapshotDir
         3: .line 915
            aload 6 /* snapshotDir */
            invokevirtual java.io.File.exists:()Z
            ifeq 5
         4: .line 916
            aload 6 /* snapshotDir */
            invokevirtual java.io.File.lastModified:()J
            lreturn
        end local 6 // java.io.File snapshotDir
        end local 2 // java.io.File dir
         5: .line 912
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         6: iload 3
            iload 4
            if_icmplt 1
         7: .line 918
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Snapshot "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* snapshotName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " doesn't exist"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.String snapshotName
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lorg/apache/cassandra/db/Directories;
            0    8     1  snapshotName  Ljava/lang/String;
            2    5     2           dir  Ljava/io/File;
            3    5     6   snapshotDir  Ljava/io/File;
    MethodParameters:
              Name  Flags
      snapshotName  

  public long trueSnapshotsSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 926
            lconst_0
            lstore 1 /* result */
        start local 1 // long result
         1: .line 927
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 9
      StackMap locals: org.apache.cassandra.db.Directories long top int int java.io.File[]
      StackMap stack:
         2: aload 6
            iload 4
            aaload
            astore 3 /* dir */
        start local 3 // java.io.File dir
         3: .line 929
            aload 3 /* dir */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            ldc "."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 930
            new java.io.File
            dup
            aload 3 /* dir */
            invokevirtual java.io.File.getParent:()Ljava/lang/String;
            ldc "snapshots"
            invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            goto 6
         5: .line 931
      StackMap locals: org.apache.cassandra.db.Directories long java.io.File int int java.io.File[]
      StackMap stack:
            new java.io.File
            dup
            aload 3 /* dir */
            ldc "snapshots"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
         6: .line 929
      StackMap locals:
      StackMap stack: java.io.File
            astore 7 /* snapshotDir */
        start local 7 // java.io.File snapshotDir
         7: .line 932
            lload 1 /* result */
            aload 0 /* this */
            aload 7 /* snapshotDir */
            invokevirtual org.apache.cassandra.db.Directories.getTrueAllocatedSizeIn:(Ljava/io/File;)J
            ladd
            lstore 1 /* result */
        end local 7 // java.io.File snapshotDir
        end local 3 // java.io.File dir
         8: .line 927
            iinc 4 1
      StackMap locals: org.apache.cassandra.db.Directories long top int int java.io.File[]
      StackMap stack:
         9: iload 4
            iload 5
            if_icmplt 2
        10: .line 934
            lload 1 /* result */
            lreturn
        end local 1 // long result
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0         this  Lorg/apache/cassandra/db/Directories;
            1   11     1       result  J
            3    8     3          dir  Ljava/io/File;
            7    8     7  snapshotDir  Ljava/io/File;

  public long getRawDiretoriesSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 942
            lconst_0
            lstore 1 /* totalAllocatedSize */
        start local 1 // long totalAllocatedSize
         1: .line 944
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 5
      StackMap locals: org.apache.cassandra.db.Directories long top int int java.io.File[]
      StackMap stack:
         2: aload 6
            iload 4
            aaload
            astore 3 /* path */
        start local 3 // java.io.File path
         3: .line 945
            lload 1 /* totalAllocatedSize */
            aload 3 /* path */
            invokestatic org.apache.cassandra.io.util.FileUtils.folderSize:(Ljava/io/File;)J
            ladd
            lstore 1 /* totalAllocatedSize */
        end local 3 // java.io.File path
         4: .line 944
            iinc 4 1
      StackMap locals:
      StackMap stack:
         5: iload 4
            iload 5
            if_icmplt 2
         6: .line 947
            lload 1 /* totalAllocatedSize */
            lreturn
        end local 1 // long totalAllocatedSize
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    7     0                this  Lorg/apache/cassandra/db/Directories;
            1    7     1  totalAllocatedSize  J
            3    4     3                path  Ljava/io/File;

  public long getTrueAllocatedSizeIn(java.io.File);
    descriptor: (Ljava/io/File;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // org.apache.cassandra.db.Directories this
        start local 1 // java.io.File input
         0: .line 952
            aload 1 /* input */
            invokevirtual java.io.File.isDirectory:()Z
            ifne 2
         1: .line 953
            lconst_0
            lreturn
         2: .line 955
      StackMap locals:
      StackMap stack:
            new org.apache.cassandra.db.Directories$SSTableSizeSummer
            dup
            aload 0 /* this */
            aload 1 /* input */
            aload 0 /* this */
            getstatic org.apache.cassandra.db.Directories$OnTxnErr.THROW:Lorg/apache/cassandra/db/Directories$OnTxnErr;
            invokevirtual org.apache.cassandra.db.Directories.sstableLister:(Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
            invokevirtual org.apache.cassandra.db.Directories$SSTableLister.listFiles:()Ljava/util/List;
            invokespecial org.apache.cassandra.db.Directories$SSTableSizeSummer.<init>:(Lorg/apache/cassandra/db/Directories;Ljava/io/File;Ljava/util/List;)V
            astore 2 /* visitor */
        start local 2 // org.apache.cassandra.db.Directories$SSTableSizeSummer visitor
         3: .line 958
            aload 1 /* input */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            aload 2 /* visitor */
            invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
            pop
         4: .line 959
            goto 7
         5: .line 960
      StackMap locals: org.apache.cassandra.db.Directories java.io.File org.apache.cassandra.db.Directories$SSTableSizeSummer
      StackMap stack: java.io.IOException
            astore 3 /* e */
        start local 3 // java.io.IOException e
         6: .line 962
            getstatic org.apache.cassandra.db.Directories.logger:Lorg/slf4j/Logger;
            ldc "Could not calculate the size of {}. {}"
            aload 1 /* input */
            aload 3 /* e */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        end local 3 // java.io.IOException e
         7: .line 965
      StackMap locals:
      StackMap stack:
            aload 2 /* visitor */
            invokevirtual org.apache.cassandra.db.Directories$SSTableSizeSummer.getAllocatedSize:()J
            lreturn
        end local 2 // org.apache.cassandra.db.Directories$SSTableSizeSummer visitor
        end local 1 // java.io.File input
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lorg/apache/cassandra/db/Directories;
            0    8     1    input  Ljava/io/File;
            3    8     2  visitor  Lorg/apache/cassandra/db/Directories$SSTableSizeSummer;
            6    7     3        e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.io.IOException
    MethodParameters:
       Name  Flags
      input  

  public static java.util.List<java.io.File> getKSChildDirectories(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String ksName
         0: .line 970
            aload 0 /* ksName */
            getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            invokestatic org.apache.cassandra.db.Directories.getKSChildDirectories:(Ljava/lang/String;[Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/util/List;
            areturn
        end local 0 // java.lang.String ksName
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  ksName  Ljava/lang/String;
    Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/io/File;>;
    MethodParameters:
        Name  Flags
      ksName  

  public static java.util.List<java.io.File> getKSChildDirectories(java.lang.String, org.apache.cassandra.db.Directories$DataDirectory[]);
    descriptor: (Ljava/lang/String;[Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=13, args_size=2
        start local 0 // java.lang.String ksName
        start local 1 // org.apache.cassandra.db.Directories$DataDirectory[] directories
         0: .line 977
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* result */
        start local 2 // java.util.List result
         1: .line 978
            aload 1 /* directories */
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 14
      StackMap locals: java.lang.String org.apache.cassandra.db.Directories$DataDirectory[] java.util.List top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
         2: aload 6
            iload 4
            aaload
            astore 3 /* dataDirectory */
        start local 3 // org.apache.cassandra.db.Directories$DataDirectory dataDirectory
         3: .line 980
            new java.io.File
            dup
            aload 3 /* dataDirectory */
            getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
            aload 0 /* ksName */
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 7 /* ksDir */
        start local 7 // java.io.File ksDir
         4: .line 981
            aload 7 /* ksDir */
            invokevirtual java.io.File.listFiles:()[Ljava/io/File;
            astore 8 /* cfDirs */
        start local 8 // java.io.File[] cfDirs
         5: .line 982
            aload 8 /* cfDirs */
            ifnonnull 7
         6: .line 983
            goto 13
         7: .line 984
      StackMap locals: java.lang.String org.apache.cassandra.db.Directories$DataDirectory[] java.util.List org.apache.cassandra.db.Directories$DataDirectory int int org.apache.cassandra.db.Directories$DataDirectory[] java.io.File java.io.File[]
      StackMap stack:
            aload 8 /* cfDirs */
            dup
            astore 12
            arraylength
            istore 11
            iconst_0
            istore 10
            goto 12
      StackMap locals: java.lang.String org.apache.cassandra.db.Directories$DataDirectory[] java.util.List org.apache.cassandra.db.Directories$DataDirectory int int org.apache.cassandra.db.Directories$DataDirectory[] java.io.File java.io.File[] top int int java.io.File[]
      StackMap stack:
         8: aload 12
            iload 10
            aaload
            astore 9 /* cfDir */
        start local 9 // java.io.File cfDir
         9: .line 986
            aload 9 /* cfDir */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 11
        10: .line 987
            aload 2 /* result */
            aload 9 /* cfDir */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 9 // java.io.File cfDir
        11: .line 984
      StackMap locals:
      StackMap stack:
            iinc 10 1
      StackMap locals:
      StackMap stack:
        12: iload 10
            iload 11
            if_icmplt 8
        end local 8 // java.io.File[] cfDirs
        end local 7 // java.io.File ksDir
        end local 3 // org.apache.cassandra.db.Directories$DataDirectory dataDirectory
        13: .line 978
      StackMap locals: java.lang.String org.apache.cassandra.db.Directories$DataDirectory[] java.util.List top int int org.apache.cassandra.db.Directories$DataDirectory[]
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
        14: iload 4
            iload 5
            if_icmplt 2
        15: .line 990
            aload 2 /* result */
            areturn
        end local 2 // java.util.List result
        end local 1 // org.apache.cassandra.db.Directories$DataDirectory[] directories
        end local 0 // java.lang.String ksName
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   16     0         ksName  Ljava/lang/String;
            0   16     1    directories  [Lorg/apache/cassandra/db/Directories$DataDirectory;
            1   16     2         result  Ljava/util/List<Ljava/io/File;>;
            3   13     3  dataDirectory  Lorg/apache/cassandra/db/Directories$DataDirectory;
            4   13     7          ksDir  Ljava/io/File;
            5   13     8         cfDirs  [Ljava/io/File;
            9   11     9          cfDir  Ljava/io/File;
    Signature: (Ljava/lang/String;[Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/util/List<Ljava/io/File;>;
    MethodParameters:
             Name  Flags
      ksName       
      directories  

  public java.util.List<java.io.File> getCFDirectories();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // org.apache.cassandra.db.Directories this
         0: .line 995
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* result */
        start local 1 // java.util.List result
         1: .line 996
            aload 0 /* this */
            getfield org.apache.cassandra.db.Directories.dataPaths:[Ljava/io/File;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 6
      StackMap locals: org.apache.cassandra.db.Directories java.util.List top int int java.io.File[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* dataDirectory */
        start local 2 // java.io.File dataDirectory
         3: .line 998
            aload 2 /* dataDirectory */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 5
         4: .line 999
            aload 1 /* result */
            aload 2 /* dataDirectory */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.io.File dataDirectory
         5: .line 996
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         6: iload 3
            iload 4
            if_icmplt 2
         7: .line 1001
            aload 1 /* result */
            areturn
        end local 1 // java.util.List result
        end local 0 // org.apache.cassandra.db.Directories this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lorg/apache/cassandra/db/Directories;
            1    8     1         result  Ljava/util/List<Ljava/io/File;>;
            3    5     2  dataDirectory  Ljava/io/File;
    Signature: ()Ljava/util/List<Ljava/io/File;>;

  private static java.io.File getOrCreate(java.io.File, java.lang.String[]);
    descriptor: (Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // java.io.File base
        start local 1 // java.lang.String[] subdirs
         0: .line 1006
            aload 1 /* subdirs */
            ifnull 1
            aload 1 /* subdirs */
            arraylength
            ifne 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* base */
            goto 3
      StackMap locals:
      StackMap stack:
         2: new java.io.File
            dup
            aload 0 /* base */
            aload 1 /* subdirs */
            invokestatic org.apache.cassandra.db.Directories.join:([Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
      StackMap locals:
      StackMap stack: java.io.File
         3: astore 2 /* dir */
        start local 2 // java.io.File dir
         4: .line 1007
            aload 2 /* dir */
            invokevirtual java.io.File.exists:()Z
            ifeq 7
         5: .line 1009
            aload 2 /* dir */
            invokevirtual java.io.File.isDirectory:()Z
            ifne 9
         6: .line 1010
            new java.lang.AssertionError
            dup
            ldc "Invalid directory path %s: path exists but is not a directory"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* dir */
            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
         7: .line 1012
      StackMap locals: java.io.File
      StackMap stack:
            aload 2 /* dir */
            invokevirtual java.io.File.mkdirs:()Z
            ifne 9
            aload 2 /* dir */
            invokevirtual java.io.File.exists:()Z
            ifeq 8
            aload 2 /* dir */
            invokevirtual java.io.File.isDirectory:()Z
            ifne 9
         8: .line 1014
      StackMap locals:
      StackMap stack:
            new org.apache.cassandra.io.FSWriteError
            dup
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unable to create directory "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* dir */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            aload 2 /* dir */
            invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/io/File;)V
            athrow
         9: .line 1016
      StackMap locals:
      StackMap stack:
            aload 2 /* dir */
            areturn
        end local 2 // java.io.File dir
        end local 1 // java.lang.String[] subdirs
        end local 0 // java.io.File base
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     base  Ljava/io/File;
            0   10     1  subdirs  [Ljava/lang/String;
            4   10     2      dir  Ljava/io/File;
    MethodParameters:
         Name  Flags
      base     
      subdirs  

  private static java.lang.String join(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljava/lang/String;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String[] s
         0: .line 1021
            aload 0 /* s */
            getstatic java.io.File.separator:Ljava/lang/String;
            invokestatic org.apache.commons.lang3.StringUtils.join:([Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // java.lang.String[] s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  [Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  static void overrideDataDirectoriesForTest(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // java.lang.String loc
         0: .line 1027
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 4
         2: .line 1028
      StackMap locals: int
      StackMap stack:
            getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            iload 1 /* i */
            new org.apache.cassandra.db.Directories$DataDirectory
            dup
            new java.io.File
            dup
            aload 0 /* loc */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokespecial org.apache.cassandra.db.Directories$DataDirectory.<init>:(Ljava/io/File;)V
            aastore
         3: .line 1027
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 1 /* i */
            getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            arraylength
            if_icmplt 2
        end local 1 // int i
         5: .line 1029
            return
        end local 0 // java.lang.String loc
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0   loc  Ljava/lang/String;
            1    5     1     i  I
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()
    MethodParameters:
      Name  Flags
      loc   

  static void resetDataDirectoriesAfterTest();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=2, args_size=0
         0: .line 1034
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getAllDataFileLocations:()[Ljava/lang/String;
            astore 0 /* locations */
        start local 0 // java.lang.String[] locations
         1: .line 1035
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         2: goto 5
         3: .line 1036
      StackMap locals: java.lang.String[] int
      StackMap stack:
            getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
            iload 1 /* i */
            new org.apache.cassandra.db.Directories$DataDirectory
            dup
            new java.io.File
            dup
            aload 0 /* locations */
            iload 1 /* i */
            aaload
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokespecial org.apache.cassandra.db.Directories$DataDirectory.<init>:(Ljava/io/File;)V
            aastore
         4: .line 1035
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            aload 0 /* locations */
            arraylength
            if_icmplt 3
        end local 1 // int i
         6: .line 1037
            return
        end local 0 // java.lang.String[] locations
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            1    7     0  locations  [Ljava/lang/String;
            2    6     1          i  I
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()
}
SourceFile: "Directories.java"
NestMembers:
  org.apache.cassandra.db.Directories$1  org.apache.cassandra.db.Directories$2  org.apache.cassandra.db.Directories$3  org.apache.cassandra.db.Directories$DataDirectory  org.apache.cassandra.db.Directories$DataDirectoryCandidate  org.apache.cassandra.db.Directories$FileAction  org.apache.cassandra.db.Directories$FileType  org.apache.cassandra.db.Directories$OnTxnErr  org.apache.cassandra.db.Directories$SSTableLister  org.apache.cassandra.db.Directories$SSTableSizeSummer
InnerClasses:
  org.apache.cassandra.db.Directories$1
  org.apache.cassandra.db.Directories$2
  org.apache.cassandra.db.Directories$3
  public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
  final DataDirectoryCandidate = org.apache.cassandra.db.Directories$DataDirectoryCandidate of org.apache.cassandra.db.Directories
  public final FileAction = org.apache.cassandra.db.Directories$FileAction of org.apache.cassandra.db.Directories
  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 SSTableLister = org.apache.cassandra.db.Directories$SSTableLister of org.apache.cassandra.db.Directories
  private SSTableSizeSummer = org.apache.cassandra.db.Directories$SSTableSizeSummer of org.apache.cassandra.db.Directories