class org.eclipse.jetty.util.component.Graceful$1 extends java.util.concurrent.CompletableFuture<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.util.component.Graceful$1
super_class: java.util.concurrent.CompletableFuture
{
private final java.util.concurrent.atomic.AtomicReference val$stopThreadReference;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.atomic.AtomicReference);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.jetty.util.component.Graceful$1.val$stopThreadReference:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
invokespecial java.util.concurrent.CompletableFuture.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/Graceful$1;
MethodParameters:
Name Flags
val$stopThreadReference final
public boolean cancel(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.util.concurrent.CompletableFuture.cancel:(Z)Z
istore 2
start local 2 1: iload 2
ifeq 5
iload 1
ifeq 5
2: aload 0
getfield org.eclipse.jetty.util.component.Graceful$1.val$stopThreadReference:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Thread
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
invokevirtual java.lang.Thread.interrupt:()V
end local 3 5: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/component/Graceful$1;
0 6 1 mayInterruptIfRunning Z
1 6 2 canceled Z
3 5 3 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
mayInterruptIfRunning
}
Signature: Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
SourceFile: "Graceful.java"
EnclosingMethod: org.eclipse.jetty.util.component.Graceful.shutdown:(Lorg/eclipse/jetty/util/component/Graceful$ThrowingRunnable;)Ljava/util/concurrent/CompletableFuture;
NestHost: org.eclipse.jetty.util.component.Graceful
InnerClasses:
org.eclipse.jetty.util.component.Graceful$1
public abstract ThrowingRunnable = org.eclipse.jetty.util.component.Graceful$ThrowingRunnable of org.eclipse.jetty.util.component.Graceful