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

  private final java.lang.Thread thread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable runnable;
    descriptor: Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor$InterruptibleRunnable;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean isShutdown;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

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

  public void <init>(java.lang.String, org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable);
    descriptor: (Ljava/lang/String;Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor$InterruptibleRunnable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
        start local 1 // java.lang.String name
        start local 2 // org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable runnable
         0: .line 39
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 37
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.isShutdown:Z
         2: .line 41
            aload 0 /* this */
            aload 2 /* runnable */
            putfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.runnable:Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor$InterruptibleRunnable;
         3: .line 42
            aload 0 /* this */
            new java.lang.Thread
            dup
            aload 0 /* this */
            invokedynamic run(Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;)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/concurrent/InfiniteLoopExecutor.loop()V (7)
                  ()V
            aload 1 /* name */
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
            putfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.thread:Ljava/lang/Thread;
         4: .line 43
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.thread:Ljava/lang/Thread;
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         5: .line 44
            return
        end local 2 // org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable runnable
        end local 1 // java.lang.String name
        end local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;
            0    6     1      name  Ljava/lang/String;
            0    6     2  runnable  Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor$InterruptibleRunnable;
    MethodParameters:
          Name  Flags
      name      
      runnable  

  private void loop();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
         0: .line 48
            goto 10
         1: .line 52
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.runnable:Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor$InterruptibleRunnable;
            invokeinterface org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable.run:()V
         2: .line 53
            goto 10
         3: .line 54
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 1 /* ie */
        start local 1 // java.lang.InterruptedException ie
         4: .line 56
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.isShutdown:Z
            ifeq 6
         5: .line 57
            return
         6: .line 58
      StackMap locals: java.lang.InterruptedException
      StackMap stack:
            getstatic org.apache.cassandra.concurrent.InfiniteLoopExecutor.logger:Lorg/slf4j/Logger;
            ldc "Interrupted while executing {}, but not shutdown; continuing with loop"
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.runnable:Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor$InterruptibleRunnable;
            aload 1 /* ie */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        end local 1 // java.lang.InterruptedException ie
         7: goto 10
         8: .line 60
      StackMap locals: org.apache.cassandra.concurrent.InfiniteLoopExecutor
      StackMap stack: java.lang.Throwable
            astore 1 /* t */
        start local 1 // java.lang.Throwable t
         9: .line 62
            getstatic org.apache.cassandra.concurrent.InfiniteLoopExecutor.logger:Lorg/slf4j/Logger;
            ldc "Exception thrown by runnable, continuing with loop"
            aload 1 /* t */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.lang.Throwable t
        10: .line 48
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.isShutdown:Z
            ifeq 1
        11: .line 65
            return
        end local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;
            4    7     1    ie  Ljava/lang/InterruptedException;
            9   10     1     t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.InterruptedException
           1     2       8  Class java.lang.Throwable

  public org.apache.cassandra.concurrent.InfiniteLoopExecutor start();
    descriptor: ()Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
         0: .line 69
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.thread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.start:()V
         1: .line 70
            aload 0 /* this */
            areturn
        end local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;

  public void shutdownNow();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
         0: .line 75
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.isShutdown:Z
         1: .line 76
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.thread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         2: .line 77
            return
        end local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;

  public boolean awaitTermination(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
        start local 1 // long time
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 81
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.thread:Ljava/lang/Thread;
            aload 3 /* unit */
            lload 1 /* time */
            invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
            invokevirtual java.lang.Thread.join:(J)V
         1: .line 82
            aload 0 /* this */
            getfield org.apache.cassandra.concurrent.InfiniteLoopExecutor.thread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.isAlive:()Z
            ifeq 2
            iconst_0
            goto 3
      StackMap locals:
      StackMap stack:
         2: iconst_1
      StackMap locals:
      StackMap stack: int
         3: ireturn
        end local 3 // java.util.concurrent.TimeUnit unit
        end local 1 // long time
        end local 0 // org.apache.cassandra.concurrent.InfiniteLoopExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/concurrent/InfiniteLoopExecutor;
            0    4     1  time  J
            0    4     3  unit  Ljava/util/concurrent/TimeUnit;
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      time  
      unit  
}
SourceFile: "InfiniteLoopExecutor.java"
NestMembers:
  org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract InterruptibleRunnable = org.apache.cassandra.concurrent.InfiniteLoopExecutor$InterruptibleRunnable of org.apache.cassandra.concurrent.InfiniteLoopExecutor