public interface org.eclipse.jetty.util.component.Graceful
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: org.eclipse.jetty.util.component.Graceful
  super_class: java.lang.Object
{
  public abstract java.util.concurrent.CompletableFuture<java.lang.Void> shutdown();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;

  public abstract boolean isShutdown();
    descriptor: ()Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public static java.util.concurrent.CompletableFuture<java.lang.Void> shutdown(org.eclipse.jetty.util.component.Container);
    descriptor: (Lorg/eclipse/jetty/util/component/Container;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // org.eclipse.jetty.util.component.Container component
         0: .line 138
            aload 0 /* component */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            astore 1 /* log */
        start local 1 // org.slf4j.Logger log
         1: .line 140
            aload 1 /* log */
            ldc "Shutdown {}"
            aload 0 /* component */
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
         2: .line 143
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* gracefuls */
        start local 2 // java.util.List gracefuls
         3: .line 144
            aload 0 /* component */
            instanceof org.eclipse.jetty.util.component.Graceful
            ifeq 5
         4: .line 145
            aload 2 /* gracefuls */
            aload 0 /* component */
            checkcast org.eclipse.jetty.util.component.Graceful
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 146
      StackMap locals: org.slf4j.Logger java.util.List
      StackMap stack:
            aload 2 /* gracefuls */
            aload 0 /* component */
            ldc Lorg/eclipse/jetty/util/component/Graceful;
            invokeinterface org.eclipse.jetty.util.component.Container.getContainedBeans:(Ljava/lang/Class;)Ljava/util/Collection;
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         6: .line 148
            aload 1 /* log */
            invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
            ifeq 8
         7: .line 149
            aload 2 /* gracefuls */
            aload 1 /* log */
            invokedynamic accept(Lorg/slf4j/Logger;)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/eclipse/jetty/util/component/Graceful.lambda$0(Lorg/slf4j/Logger;Lorg/eclipse/jetty/util/component/Graceful;)V (6 itf)
                  (Lorg/eclipse/jetty/util/component/Graceful;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
         8: .line 151
      StackMap locals:
      StackMap stack:
            aload 2 /* gracefuls */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            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/eclipse/jetty/util/component/Graceful.shutdown()Ljava/util/concurrent/CompletableFuture; (9 itf)
                  (Lorg/eclipse/jetty/util/component/Graceful;)Ljava/util/concurrent/CompletableFuture;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
            invokedynamic apply()Ljava/util/function/IntFunction;
              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:
                  (I)Ljava/lang/Object;
                  org/eclipse/jetty/util/component/Graceful.lambda$2(I)[Ljava/util/concurrent/CompletableFuture; (6 itf)
                  (I)[Ljava/util/concurrent/CompletableFuture;
            invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
            checkcast java.util.concurrent.CompletableFuture[]
            invokestatic java.util.concurrent.CompletableFuture.allOf:([Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 2 // java.util.List gracefuls
        end local 1 // org.slf4j.Logger log
        end local 0 // org.eclipse.jetty.util.component.Container component
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0  component  Lorg/eclipse/jetty/util/component/Container;
            1    9     1        log  Lorg/slf4j/Logger;
            3    9     2  gracefuls  Ljava/util/List<Lorg/eclipse/jetty/util/component/Graceful;>;
    Signature: (Lorg/eclipse/jetty/util/component/Container;)Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
    MethodParameters:
           Name  Flags
      component  

  public static java.util.concurrent.CompletableFuture<java.lang.Void> shutdown(org.eclipse.jetty.util.component.Graceful$ThrowingRunnable);
    descriptor: (Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.eclipse.jetty.util.component.Graceful$ThrowingRunnable runnable
         0: .line 162
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            astore 1 /* stopThreadReference */
        start local 1 // java.util.concurrent.atomic.AtomicReference stopThreadReference
         1: .line 163
            new org.eclipse.jetty.util.component.Graceful$1
            dup
            aload 1 /* stopThreadReference */
            invokespecial org.eclipse.jetty.util.component.Graceful$1.<init>:(Ljava/util/concurrent/atomic/AtomicReference;)V
            astore 2 /* shutdown */
        start local 2 // java.util.concurrent.CompletableFuture shutdown
         2: .line 180
            new java.lang.Thread
            dup
            aload 0 /* runnable */
            aload 2 /* shutdown */
            invokedynamic run(Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;Ljava/util/concurrent/CompletableFuture;)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/eclipse/jetty/util/component/Graceful.lambda$3(Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;Ljava/util/concurrent/CompletableFuture;)V (6 itf)
                  ()V
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            astore 3 /* stopThread */
        start local 3 // java.lang.Thread stopThread
         3: .line 192
            aload 3 /* stopThread */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         4: .line 193
            aload 1 /* stopThreadReference */
            aload 3 /* stopThread */
            invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
         5: .line 194
            aload 3 /* stopThread */
            invokevirtual java.lang.Thread.start:()V
         6: .line 195
            aload 2 /* shutdown */
            areturn
        end local 3 // java.lang.Thread stopThread
        end local 2 // java.util.concurrent.CompletableFuture shutdown
        end local 1 // java.util.concurrent.atomic.AtomicReference stopThreadReference
        end local 0 // org.eclipse.jetty.util.component.Graceful$ThrowingRunnable runnable
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    7     0             runnable  Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;
            1    7     1  stopThreadReference  Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Thread;>;
            2    7     2             shutdown  Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
            3    7     3           stopThread  Ljava/lang/Thread;
    Signature: (Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;)Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
    MethodParameters:
          Name  Flags
      runnable  

  private static void lambda$0(org.slf4j.Logger, org.eclipse.jetty.util.component.Graceful);
    descriptor: (Lorg/slf4j/Logger;Lorg/eclipse/jetty/util/component/Graceful;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
        start local 1 // org.eclipse.jetty.util.component.Graceful g
         0: .line 149
            aload 0
            ldc "graceful {}"
            aload 1 /* g */
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
            return
        end local 1 // org.eclipse.jetty.util.component.Graceful g
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1     g  Lorg/eclipse/jetty/util/component/Graceful;

  private static java.util.concurrent.CompletableFuture[] lambda$2(int);
    descriptor: (I)[Ljava/util/concurrent/CompletableFuture;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            iload 0
            anewarray java.util.concurrent.CompletableFuture
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void lambda$3(org.eclipse.jetty.util.component.Graceful$ThrowingRunnable, java.util.concurrent.CompletableFuture);
    descriptor: (Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;Ljava/util/concurrent/CompletableFuture;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=2
         0: .line 184
            aload 0
            invokeinterface org.eclipse.jetty.util.component.Graceful$ThrowingRunnable.run:()V
         1: .line 185
            aload 1
            aconst_null
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
         2: .line 186
            goto 5
         3: .line 187
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* t */
        start local 2 // java.lang.Throwable t
         4: .line 189
            aload 1
            aload 2 /* t */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
        end local 2 // java.lang.Throwable t
         5: .line 191
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            4    5     2     t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Throwable
}
SourceFile: "Graceful.java"
NestMembers:
  org.eclipse.jetty.util.component.Graceful$1  org.eclipse.jetty.util.component.Graceful$Shutdown  org.eclipse.jetty.util.component.Graceful$Shutdown$1  org.eclipse.jetty.util.component.Graceful$ThrowingRunnable
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  org.eclipse.jetty.util.component.Graceful$1
  public abstract Shutdown = org.eclipse.jetty.util.component.Graceful$Shutdown of org.eclipse.jetty.util.component.Graceful
  public abstract ThrowingRunnable = org.eclipse.jetty.util.component.Graceful$ThrowingRunnable of org.eclipse.jetty.util.component.Graceful