public class org.eclipse.jetty.util.component.Graceful$Shutdown implements org.eclipse.jetty.util.component.Graceful
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.component.Graceful$Shutdown
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicReference<org.eclipse.jetty.util.FutureCallback> _shutdown;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/eclipse/jetty/util/FutureCallback;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield org.eclipse.jetty.util.component.Graceful$Shutdown._shutdown:Ljava/util/concurrent/atomic/AtomicReference;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
protected org.eclipse.jetty.util.FutureCallback newShutdownCallback();
descriptor: ()Lorg/eclipse/jetty/util/FutureCallback;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.FutureCallback.SUCCEEDED:Lorg/eclipse/jetty/util/FutureCallback;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
public java.util.concurrent.Future<java.lang.Void> shutdown();
descriptor: ()Ljava/util/concurrent/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.Graceful$Shutdown._shutdown:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
invokedynamic apply(Lorg/eclipse/jetty/util/component/Graceful$Shutdown;)Ljava/util/function/UnaryOperator;
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.lambda$0(Lorg/eclipse/jetty/util/FutureCallback;)Lorg/eclipse/jetty/util/FutureCallback; (7)
(Lorg/eclipse/jetty/util/FutureCallback;)Lorg/eclipse/jetty/util/FutureCallback;
invokevirtual java.util.concurrent.atomic.AtomicReference.updateAndGet:(Ljava/util/function/UnaryOperator;)Ljava/lang/Object;
checkcast java.util.concurrent.Future
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
Signature: ()Ljava/util/concurrent/Future<Ljava/lang/Void;>;
public boolean isShutdown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.Graceful$Shutdown._shutdown:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.Graceful$Shutdown._shutdown:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.FutureCallback
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokevirtual org.eclipse.jetty.util.FutureCallback.isDone:()Z
ifne 3
2: aload 1
iconst_1
invokevirtual org.eclipse.jetty.util.FutureCallback.cancel:(Z)Z
pop
3: StackMap locals: org.eclipse.jetty.util.FutureCallback
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
1 4 1 shutdown Lorg/eclipse/jetty/util/FutureCallback;
public org.eclipse.jetty.util.FutureCallback get();
descriptor: ()Lorg/eclipse/jetty/util/FutureCallback;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.Graceful$Shutdown._shutdown:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.FutureCallback
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
private org.eclipse.jetty.util.FutureCallback lambda$0(org.eclipse.jetty.util.FutureCallback);
descriptor: (Lorg/eclipse/jetty/util/FutureCallback;)Lorg/eclipse/jetty/util/FutureCallback;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aload 0
invokevirtual org.eclipse.jetty.util.component.Graceful$Shutdown.newShutdownCallback:()Lorg/eclipse/jetty/util/FutureCallback;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: org.eclipse.jetty.util.FutureCallback
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/component/Graceful$Shutdown;
0 3 1 fcb Lorg/eclipse/jetty/util/FutureCallback;
}
SourceFile: "Graceful.java"
NestHost: org.eclipse.jetty.util.component.Graceful
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Shutdown = org.eclipse.jetty.util.component.Graceful$Shutdown of org.eclipse.jetty.util.component.Graceful