final class org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName
  super_class: java.lang.Object
{
  java.util.Map<java.lang.String, java.util.List<java.io.File>> files;
    descriptor: Ljava/util/Map;
    flags: (0x0000) 
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
         0: .line 446
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 452
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName.files:Ljava/util/Map;
         2: .line 446
            return
        end local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName;

  void list(java.io.File);
    descriptor: (Ljava/io/File;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
        start local 1 // java.io.File directory
         0: .line 456
            aload 1 /* directory */
            invokedynamic accept()Ljava/io/FileFilter;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/io/File;)Z
                  org/apache/cassandra/db/lifecycle/LogFile.isLogFile(Ljava/io/File;)Z (6)
                  (Ljava/io/File;)Z
            invokevirtual java.io.File.listFiles:(Ljava/io/FileFilter;)[Ljava/io/File;
            invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
            aload 0 /* this */
            invokedynamic accept(Lorg/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName.add(Ljava/io/File;)V (5)
                  (Ljava/io/File;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         1: .line 457
            return
        end local 1 // java.io.File directory
        end local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName;
            0    2     1  directory  Ljava/io/File;
    MethodParameters:
           Name  Flags
      directory  

  void add(java.io.File);
    descriptor: (Ljava/io/File;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
        start local 1 // java.io.File file
         0: .line 461
            aload 0 /* this */
            getfield org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName.files:Ljava/util/Map;
            aload 1 /* file */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.List
            astore 2 /* filesByName */
        start local 2 // java.util.List filesByName
         1: .line 462
            aload 2 /* filesByName */
            ifnonnull 4
         2: .line 464
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* filesByName */
         3: .line 465
            aload 0 /* this */
            getfield org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName.files:Ljava/util/Map;
            aload 1 /* file */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            aload 2 /* filesByName */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 468
      StackMap locals: java.util.List
      StackMap stack:
            aload 2 /* filesByName */
            aload 1 /* file */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 469
            return
        end local 2 // java.util.List filesByName
        end local 1 // java.io.File file
        end local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0         this  Lorg/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName;
            0    6     1         file  Ljava/io/File;
            1    6     2  filesByName  Ljava/util/List<Ljava/io/File;>;
    MethodParameters:
      Name  Flags
      file  

  boolean removeUnfinishedLeftovers();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
         0: .line 473
            aload 0 /* this */
            getfield org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName.files:Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
         1: .line 474
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         2: .line 475
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  org/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName.removeUnfinishedLeftovers(Ljava/util/Map$Entry;)Z (6)
                  (Ljava/util/Map$Entry;)Ljava/lang/Boolean;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         3: .line 476
            iconst_1
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokestatic java.util.function.Predicate.isEqual:(Ljava/lang/Object;)Ljava/util/function/Predicate;
            invokeinterface java.util.stream.Stream.allMatch:(Ljava/util/function/Predicate;)Z
         4: .line 473
            ireturn
        end local 0 // org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/cassandra/db/lifecycle/LogTransaction$LogFilesByName;

  static boolean removeUnfinishedLeftovers(java.util.Map$Entry<java.lang.String, java.util.List<java.io.File>>);
    descriptor: (Ljava/util/Map$Entry;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // java.util.Map$Entry entry
         0: .line 481
            aconst_null
            astore 1
            aconst_null
            astore 2
         1: aload 0 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            aload 0 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.util.List
            invokestatic org.apache.cassandra.db.lifecycle.LogFile.make:(Ljava/lang/String;Ljava/util/List;)Lorg/apache/cassandra/db/lifecycle/LogFile;
            astore 3 /* txn */
        start local 3 // org.apache.cassandra.db.lifecycle.LogFile txn
         2: .line 483
            aload 3 /* txn */
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.verify:()Z
            ifeq 12
         3: .line 485
            aload 3 /* txn */
            aconst_null
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.removeUnfinishedLeftovers:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            astore 4 /* failure */
        start local 4 // java.lang.Throwable failure
         4: .line 486
            aload 4 /* failure */
            ifnull 10
         5: .line 488
            getstatic org.apache.cassandra.db.lifecycle.LogTransaction.logger:Lorg/slf4j/Logger;
            ldc "Failed to remove unfinished transaction leftovers for transaction log {}"
         6: .line 489
            aload 3 /* txn */
            iconst_1
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.toString:(Z)Ljava/lang/String;
            aload 4 /* failure */
         7: .line 488
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 500
            aload 3 /* txn */
            ifnull 9
            aload 3 /* txn */
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.close:()V
         9: .line 490
      StackMap locals: java.util.Map$Entry java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.lifecycle.LogFile java.lang.Throwable
      StackMap stack:
            iconst_0
            ireturn
        10: .line 500
      StackMap locals:
      StackMap stack:
            aload 3 /* txn */
            ifnull 11
            aload 3 /* txn */
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.close:()V
        11: .line 493
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 4 // java.lang.Throwable failure
        12: .line 497
      StackMap locals:
      StackMap stack:
            getstatic org.apache.cassandra.db.lifecycle.LogTransaction.logger:Lorg/slf4j/Logger;
            ldc "Unexpected disk state: failed to read transaction log {}"
            aload 3 /* txn */
            iconst_1
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.toString:(Z)Ljava/lang/String;
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
        13: .line 500
            aload 3 /* txn */
            ifnull 14
            aload 3 /* txn */
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.close:()V
        14: .line 498
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 1
        16: .line 500
            aload 3 /* txn */
            ifnull 17
            aload 3 /* txn */
            invokevirtual org.apache.cassandra.db.lifecycle.LogFile.close:()V
        end local 3 // org.apache.cassandra.db.lifecycle.LogFile txn
      StackMap locals:
      StackMap stack:
        17: aload 1
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 2
            aload 1
            ifnonnull 19
            aload 2
            astore 1
            goto 20
      StackMap locals:
      StackMap stack:
        19: aload 1
            aload 2
            if_acmpeq 20
            aload 1
            aload 2
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        20: aload 1
            athrow
        end local 0 // java.util.Map$Entry entry
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   21     0    entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;
            2   17     3      txn  Lorg/apache/cassandra/db/lifecycle/LogFile;
            4   12     4  failure  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2     8      15  any
          12    13      15  any
           1     9      18  any
          10    11      18  any
          12    14      18  any
          15    18      18  any
    Signature: (Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/io/File;>;>;)Z
    MethodParameters:
       Name  Flags
      entry  
}
SourceFile: "LogTransaction.java"
NestHost: org.apache.cassandra.db.lifecycle.LogTransaction
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = java.util.Map$Entry of java.util.Map
  private final LogFilesByName = org.apache.cassandra.db.lifecycle.LogTransaction$LogFilesByName of org.apache.cassandra.db.lifecycle.LogTransaction