class org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer implements org.apache.cassandra.db.compaction.CompactionLogger$Writer
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer
  super_class: java.lang.Object
{
  private static final java.lang.String logDirectory;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.concurrent.ExecutorService loggerService;
    descriptor: Ljava/util/concurrent/ExecutorService;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Set<java.lang.Object> rolled;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/Object;>;

  private java.io.OutputStreamWriter stream;
    descriptor: Ljava/io/OutputStreamWriter;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 297
            ldc "cassandra.logdir"
            ldc "."
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            putstatic org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.logDirectory:Ljava/lang/String;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
         0: .line 295
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 298
            aload 0 /* this */
            iconst_1
            invokestatic java.util.concurrent.Executors.newFixedThreadPool:(I)Ljava/util/concurrent/ExecutorService;
            putfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.loggerService:Ljava/util/concurrent/ExecutorService;
         2: .line 300
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.rolled:Ljava/util/Set;
         3: .line 295
            return
        end local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;

  private static java.io.OutputStreamWriter createStream();
    descriptor: ()Ljava/io/OutputStreamWriter;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=9, locals=3, args_size=0
         0: .line 305
            iconst_0
            istore 0 /* count */
        start local 0 // int count
         1: .line 306
            getstatic org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.logDirectory:Ljava/lang/String;
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "compaction.log"
            aastore
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 1 /* compactionLog */
        start local 1 // java.nio.file.Path compactionLog
         2: .line 307
            aload 1 /* compactionLog */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 8
         3: .line 309
            aload 1 /* compactionLog */
            astore 2 /* tryPath */
        start local 2 // java.nio.file.Path tryPath
         4: .line 310
            goto 6
         5: .line 312
      StackMap locals: int java.nio.file.Path java.nio.file.Path
      StackMap stack:
            getstatic org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.logDirectory:Ljava/lang/String;
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "compaction-%d.log"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 0 /* count */
            iinc 0 /* count */ 1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            aastore
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 2 /* tryPath */
         6: .line 310
      StackMap locals:
      StackMap stack:
            aload 2 /* tryPath */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 5
         7: .line 314
            aload 1 /* compactionLog */
            aload 2 /* tryPath */
            iconst_0
            anewarray java.nio.file.CopyOption
            invokestatic java.nio.file.Files.move:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
            pop
        end local 2 // java.nio.file.Path tryPath
         8: .line 317
      StackMap locals:
      StackMap stack:
            new java.io.OutputStreamWriter
            dup
            aload 1 /* compactionLog */
            iconst_2
            anewarray java.nio.file.OpenOption
            dup
            iconst_0
            getstatic java.nio.file.StandardOpenOption.CREATE_NEW:Ljava/nio/file/StandardOpenOption;
            aastore
            dup
            iconst_1
            getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
            aastore
            invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
            areturn
        end local 1 // java.nio.file.Path compactionLog
        end local 0 // int count
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            1    9     0          count  I
            2    9     1  compactionLog  Ljava/nio/file/Path;
            4    8     2        tryPath  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException

  private void writeLocal(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=10, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
        start local 1 // java.lang.String toWrite
         0: .line 324
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.stream:Ljava/io/OutputStreamWriter;
            ifnonnull 2
         1: .line 325
            aload 0 /* this */
            invokestatic org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.createStream:()Ljava/io/OutputStreamWriter;
            putfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.stream:Ljava/io/OutputStreamWriter;
         2: .line 326
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.stream:Ljava/io/OutputStreamWriter;
            aload 1 /* toWrite */
            invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
         3: .line 327
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.stream:Ljava/io/OutputStreamWriter;
            invokevirtual java.io.OutputStreamWriter.flush:()V
         4: .line 328
            goto 9
         5: .line 329
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
         6: .line 332
            getstatic org.apache.cassandra.db.compaction.CompactionLogger.logger:Lorg/slf4j/Logger;
            getstatic org.apache.cassandra.utils.NoSpamLogger$Level.ERROR:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
            lconst_1
            getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
         7: .line 333
            ldc "Could not write to the log file: {}"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* ioe */
            aastore
         8: .line 332
            invokestatic org.apache.cassandra.utils.NoSpamLogger.log:(Lorg/slf4j/Logger;Lorg/apache/cassandra/utils/NoSpamLogger$Level;JLjava/util/concurrent/TimeUnit;Ljava/lang/String;[Ljava/lang/Object;)Z
            pop
        end local 2 // java.io.IOException ioe
         9: .line 336
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String toWrite
        end local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;
            0   10     1  toWrite  Ljava/lang/String;
            6    9     2      ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     4       5  Class java.io.IOException
    MethodParameters:
         Name  Flags
      toWrite  

  public void writeStart(org.codehaus.jackson.JsonNode, java.lang.Object);
    descriptor: (Lorg/codehaus/jackson/JsonNode;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
        start local 1 // org.codehaus.jackson.JsonNode statement
        start local 2 // java.lang.Object tag
         0: .line 340
            new java.lang.StringBuilder
            dup
            aload 1 /* statement */
            invokevirtual org.codehaus.jackson.JsonNode.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* toWrite */
        start local 3 // java.lang.String toWrite
         1: .line 341
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.loggerService:Ljava/util/concurrent/ExecutorService;
            aload 0 /* this */
            aload 2 /* tag */
            aload 3 /* toWrite */
            invokedynamic run(Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Runnable;
              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:
                  ()V
                  org/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer.lambda$0(Ljava/lang/Object;Ljava/lang/String;)V (7)
                  ()V
            invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
         2: .line 345
            return
        end local 3 // java.lang.String toWrite
        end local 2 // java.lang.Object tag
        end local 1 // org.codehaus.jackson.JsonNode statement
        end local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;
            0    3     1  statement  Lorg/codehaus/jackson/JsonNode;
            0    3     2        tag  Ljava/lang/Object;
            1    3     3    toWrite  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      statement  
      tag        

  public void write(org.codehaus.jackson.JsonNode, org.apache.cassandra.db.compaction.CompactionLogger$StrategySummary, java.lang.Object);
    descriptor: (Lorg/codehaus/jackson/JsonNode;Lorg/apache/cassandra/db/compaction/CompactionLogger$StrategySummary;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
        start local 1 // org.codehaus.jackson.JsonNode statement
        start local 2 // org.apache.cassandra.db.compaction.CompactionLogger$StrategySummary summary
        start local 3 // java.lang.Object tag
         0: .line 349
            new java.lang.StringBuilder
            dup
            aload 1 /* statement */
            invokevirtual org.codehaus.jackson.JsonNode.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 4 /* toWrite */
        start local 4 // java.lang.String toWrite
         1: .line 350
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.loggerService:Ljava/util/concurrent/ExecutorService;
            aload 0 /* this */
            aload 3 /* tag */
            aload 2 /* summary */
            aload 4 /* toWrite */
            invokedynamic run(Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;Ljava/lang/Object;Lorg/apache/cassandra/db/compaction/CompactionLogger$StrategySummary;Ljava/lang/String;)Ljava/lang/Runnable;
              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:
                  ()V
                  org/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer.lambda$1(Ljava/lang/Object;Lorg/apache/cassandra/db/compaction/CompactionLogger$StrategySummary;Ljava/lang/String;)V (7)
                  ()V
            invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
         2: .line 358
            return
        end local 4 // java.lang.String toWrite
        end local 3 // java.lang.Object tag
        end local 2 // org.apache.cassandra.db.compaction.CompactionLogger$StrategySummary summary
        end local 1 // org.codehaus.jackson.JsonNode statement
        end local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;
            0    3     1  statement  Lorg/codehaus/jackson/JsonNode;
            0    3     2    summary  Lorg/apache/cassandra/db/compaction/CompactionLogger$StrategySummary;
            0    3     3        tag  Ljava/lang/Object;
            1    3     4    toWrite  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      statement  
      summary    
      tag        

  private void lambda$0(java.lang.Object, java.lang.String);
    descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
         0: .line 342
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.rolled:Ljava/util/Set;
            aload 1
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         1: .line 343
            aload 0 /* this */
            aload 2
            invokevirtual org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.writeLocal:(Ljava/lang/String;)V
         2: .line 344
            return
        end local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;

  private void lambda$1(java.lang.Object, org.apache.cassandra.db.compaction.CompactionLogger$StrategySummary, java.lang.String);
    descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/db/compaction/CompactionLogger$StrategySummary;Ljava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
         0: .line 351
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.rolled:Ljava/util/Set;
            aload 1
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifne 3
         1: .line 353
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 2
            invokeinterface org.apache.cassandra.db.compaction.CompactionLogger$StrategySummary.getSummary:()Lorg/codehaus/jackson/JsonNode;
            invokevirtual org.codehaus.jackson.JsonNode.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.writeLocal:(Ljava/lang/String;)V
         2: .line 354
            aload 0 /* this */
            getfield org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.rolled:Ljava/util/Set;
            aload 1
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         3: .line 356
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3
            invokevirtual org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer.writeLocal:(Ljava/lang/String;)V
         4: .line 357
            return
        end local 0 // org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/cassandra/db/compaction/CompactionLogger$CompactionLogSerializer;
}
SourceFile: "CompactionLogger.java"
NestHost: org.apache.cassandra.db.compaction.CompactionLogger
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private CompactionLogSerializer = org.apache.cassandra.db.compaction.CompactionLogger$CompactionLogSerializer of org.apache.cassandra.db.compaction.CompactionLogger
  public abstract StrategySummary = org.apache.cassandra.db.compaction.CompactionLogger$StrategySummary of org.apache.cassandra.db.compaction.CompactionLogger
  public abstract Writer = org.apache.cassandra.db.compaction.CompactionLogger$Writer of org.apache.cassandra.db.compaction.CompactionLogger
  public final Level = org.apache.cassandra.utils.NoSpamLogger$Level of org.apache.cassandra.utils.NoSpamLogger