class org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable
  super_class: java.lang.Object
{
  private final org.apache.cassandra.utils.Clock clock;
    descriptor: Lorg/apache/cassandra/utils/Clock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long firstLagAt;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long totalSyncDuration;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long syncExceededIntervalBy;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

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

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

  final org.apache.cassandra.db.commitlog.AbstractCommitLogService this$0;
    descriptor: Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(org.apache.cassandra.db.commitlog.AbstractCommitLogService, org.apache.cassandra.utils.Clock);
    descriptor: (Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;Lorg/apache/cassandra/utils/Clock;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
        start local 2 // org.apache.cassandra.utils.Clock clock
         0: .line 151
            aload 0 /* this */
            aload 1
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
         1: .line 150
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         2: .line 144
            aload 0 /* this */
            lconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.firstLagAt:J
         3: .line 145
            aload 0 /* this */
            lconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.totalSyncDuration:J
         4: .line 146
            aload 0 /* this */
            lconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncExceededIntervalBy:J
         5: .line 147
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.lagCount:I
         6: .line 148
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncCount:I
         7: .line 152
            aload 0 /* this */
            aload 2 /* clock */
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.clock:Lorg/apache/cassandra/utils/Clock;
         8: .line 153
            return
        end local 2 // org.apache.cassandra.utils.Clock clock
        end local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService$SyncRunnable;
            0    9     2  clock  Lorg/apache/cassandra/utils/Clock;
    MethodParameters:
        Name  Flags
      this$0  final
      clock   

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
         0: .line 159
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.sync:()Z
            ifne 0
         1: .line 162
            return
        end local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService$SyncRunnable;

  boolean sync();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=5, locals=9, args_size=1
        start local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
         0: .line 167
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.shutdown:Z
            istore 1 /* shutdownRequested */
        start local 1 // boolean shutdownRequested
         1: .line 172
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.clock:Lorg/apache/cassandra/utils/Clock;
            invokevirtual org.apache.cassandra.utils.Clock.nanoTime:()J
            lstore 2 /* pollStarted */
        start local 2 // long pollStarted
         2: .line 173
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.lastSyncedAt:J
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.syncIntervalNanos:J
            ladd
            lload 2 /* pollStarted */
            lcmp
            ifle 3
            iload 1 /* shutdownRequested */
            ifne 3
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.syncRequested:Z
            ifne 3
            iconst_0
            goto 4
      StackMap locals: int long
      StackMap stack:
         3: iconst_1
      StackMap locals:
      StackMap stack: int
         4: istore 4 /* flushToDisk */
        start local 4 // boolean flushToDisk
         5: .line 174
            iload 4 /* flushToDisk */
            ifeq 12
         6: .line 177
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            iconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.syncRequested:Z
         7: .line 178
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.commitLog:Lorg/apache/cassandra/db/commitlog/CommitLog;
            iconst_1
            invokevirtual org.apache.cassandra.db.commitlog.CommitLog.sync:(Z)V
         8: .line 179
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            lload 2 /* pollStarted */
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.lastSyncedAt:J
         9: .line 180
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.syncComplete:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
            invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue.signalAll:()V
        10: .line 181
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncCount:I
            iconst_1
            iadd
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncCount:I
        11: .line 182
            goto 13
        12: .line 186
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.commitLog:Lorg/apache/cassandra/db/commitlog/CommitLog;
            iconst_0
            invokevirtual org.apache.cassandra.db.commitlog.CommitLog.sync:(Z)V
        13: .line 189
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.clock:Lorg/apache/cassandra/utils/Clock;
            invokevirtual org.apache.cassandra.utils.Clock.nanoTime:()J
            lstore 5 /* now */
        start local 5 // long now
        14: .line 190
            iload 4 /* flushToDisk */
            ifeq 16
        15: .line 191
            aload 0 /* this */
            lload 2 /* pollStarted */
            lload 5 /* now */
            invokevirtual org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.maybeLogFlushLag:(JJ)Z
            pop
        16: .line 193
      StackMap locals: long
      StackMap stack:
            iload 1 /* shutdownRequested */
            ifeq 18
        17: .line 194
            iconst_0
            ireturn
        18: .line 196
      StackMap locals:
      StackMap stack:
            lload 2 /* pollStarted */
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.markerIntervalNanos:J
            ladd
            lstore 7 /* wakeUpAt */
        start local 7 // long wakeUpAt
        19: .line 197
            lload 7 /* wakeUpAt */
            lload 5 /* now */
            lcmp
            ifle 26
        20: .line 198
            lload 7 /* wakeUpAt */
            lload 5 /* now */
            lsub
            invokestatic java.util.concurrent.locks.LockSupport.parkNanos:(J)V
        end local 7 // long wakeUpAt
        end local 5 // long now
        end local 4 // boolean flushToDisk
        end local 2 // long pollStarted
        21: .line 199
            goto 26
        22: .line 200
      StackMap locals: org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable int
      StackMap stack: java.lang.Throwable
            astore 2 /* t */
        start local 2 // java.lang.Throwable t
        23: .line 202
            ldc "Failed to persist commits to disk"
            aload 2 /* t */
            invokestatic org.apache.cassandra.db.commitlog.CommitLog.handleCommitError:(Ljava/lang/String;Ljava/lang/Throwable;)Z
            ifne 25
        24: .line 203
            iconst_0
            ireturn
        25: .line 206
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.markerIntervalNanos:J
            invokestatic java.util.concurrent.locks.LockSupport.parkNanos:(J)V
        end local 2 // java.lang.Throwable t
        26: .line 209
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 1 // boolean shutdownRequested
        end local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   27     0               this  Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService$SyncRunnable;
            1   27     1  shutdownRequested  Z
            2   21     2        pollStarted  J
            5   21     4        flushToDisk  Z
           14   21     5                now  J
           19   21     7           wakeUpAt  J
           23   26     2                  t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1    17      22  Class java.lang.Throwable
          18    21      22  Class java.lang.Throwable

  boolean maybeLogFlushLag(long, long);
    descriptor: (JJ)Z
    flags: (0x0000) 
    Code:
      stack=17, locals=10, args_size=3
        start local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
        start local 1 // long pollStarted
        start local 3 // long now
         0: .line 218
            lload 3 /* now */
            lload 1 /* pollStarted */
            lsub
            lstore 5 /* flushDuration */
        start local 5 // long flushDuration
         1: .line 219
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.totalSyncDuration:J
            lload 5 /* flushDuration */
            ladd
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.totalSyncDuration:J
         2: .line 222
            lload 1 /* pollStarted */
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.this$0:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService;
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService.syncIntervalNanos:J
            ladd
            lstore 7 /* maxFlushTimestamp */
        start local 7 // long maxFlushTimestamp
         3: .line 223
            lload 7 /* maxFlushTimestamp */
            lload 3 /* now */
            lcmp
            ifle 5
         4: .line 224
            iconst_0
            ireturn
         5: .line 227
      StackMap locals: long long
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.firstLagAt:J
            lconst_0
            lcmp
            ifne 10
         6: .line 229
            aload 0 /* this */
            lload 3 /* now */
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.firstLagAt:J
         7: .line 230
            aload 0 /* this */
            aload 0 /* this */
            iconst_0
            dup_x1
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.lagCount:I
            i2l
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncExceededIntervalBy:J
         8: .line 231
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncCount:I
         9: .line 232
            aload 0 /* this */
            lload 5 /* flushDuration */
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.totalSyncDuration:J
        10: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncExceededIntervalBy:J
            lload 3 /* now */
            lload 7 /* maxFlushTimestamp */
            lsub
            ladd
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncExceededIntervalBy:J
        11: .line 235
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.lagCount:I
            iconst_1
            iadd
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.lagCount:I
        12: .line 237
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.firstLagAt:J
            lconst_0
            lcmp
            ifle 26
        13: .line 240
            getstatic org.apache.cassandra.db.commitlog.AbstractCommitLogService.logger:Lorg/slf4j/Logger;
        14: .line 241
            getstatic org.apache.cassandra.utils.NoSpamLogger$Level.WARN:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
        15: .line 242
            ldc 5
        16: .line 243
            getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
        17: .line 244
            ldc "Out of {} commit log syncs over the past {}s with average duration of {}ms, {} have exceeded the configured commit interval by an average of {}ms"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
        18: .line 245
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncCount:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
        19: .line 246
            ldc "%.2f"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 3 /* now */
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.firstLagAt:J
            lsub
            l2d
            ldc 1.0E-9
            dmul
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            aastore
            dup
            iconst_2
        20: .line 247
            ldc "%.2f"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.totalSyncDuration:J
            l2d
            ldc 1.0E-6
            dmul
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncCount:I
            i2d
            ddiv
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            aastore
            dup
            iconst_3
        21: .line 248
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.lagCount:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
        22: .line 249
            ldc "%.2f"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.syncExceededIntervalBy:J
            l2d
            ldc 1.0E-6
            dmul
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.lagCount:I
            i2d
            ddiv
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            aastore
        23: .line 240
            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
            istore 9 /* logged */
        start local 9 // boolean logged
        24: .line 250
            iload 9 /* logged */
            ifeq 26
        25: .line 251
            aload 0 /* this */
            lconst_0
            putfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.firstLagAt:J
        end local 9 // boolean logged
        26: .line 253
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 7 // long maxFlushTimestamp
        end local 5 // long flushDuration
        end local 3 // long now
        end local 1 // long pollStarted
        end local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   27     0               this  Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService$SyncRunnable;
            0   27     1        pollStarted  J
            0   27     3                now  J
            1   27     5      flushDuration  J
            3   27     7  maxFlushTimestamp  J
           24   26     9             logged  Z
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()
    RuntimeInvisibleTypeAnnotations: 
      METHOD_RETURN
        com.google.common.annotations.VisibleForTesting()
    MethodParameters:
             Name  Flags
      pollStarted  
      now          

  long getTotalSyncDuration();
    descriptor: ()J
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
         0: .line 259
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable.totalSyncDuration:J
            lreturn
        end local 0 // org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/db/commitlog/AbstractCommitLogService$SyncRunnable;
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()
    RuntimeInvisibleTypeAnnotations: 
      METHOD_RETURN
        com.google.common.annotations.VisibleForTesting()
}
SourceFile: "AbstractCommitLogService.java"
NestHost: org.apache.cassandra.db.commitlog.AbstractCommitLogService
InnerClasses:
  SyncRunnable = org.apache.cassandra.db.commitlog.AbstractCommitLogService$SyncRunnable of org.apache.cassandra.db.commitlog.AbstractCommitLogService
  public final Level = org.apache.cassandra.utils.NoSpamLogger$Level of org.apache.cassandra.utils.NoSpamLogger