public final class io.netty.util.concurrent.ImmediateEventExecutor extends io.netty.util.concurrent.AbstractEventExecutor
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.concurrent.ImmediateEventExecutor
super_class: io.netty.util.concurrent.AbstractEventExecutor
{
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final io.netty.util.concurrent.ImmediateEventExecutor INSTANCE;
descriptor: Lio/netty/util/concurrent/ImmediateEventExecutor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final io.netty.util.concurrent.FastThreadLocal<java.util.Queue<java.lang.Runnable>> DELAYED_RUNNABLES;
descriptor: Lio/netty/util/concurrent/FastThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/concurrent/FastThreadLocal<Ljava/util/Queue<Ljava/lang/Runnable;>;>;
private static final io.netty.util.concurrent.FastThreadLocal<java.lang.Boolean> RUNNING;
descriptor: Lio/netty/util/concurrent/FastThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/concurrent/FastThreadLocal<Ljava/lang/Boolean;>;
private final io.netty.util.concurrent.Future<?> terminationFuture;
descriptor: Lio/netty/util/concurrent/Future;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/netty/util/concurrent/Future<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lio/netty/util/concurrent/ImmediateEventExecutor;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.util.concurrent.ImmediateEventExecutor.logger:Lio/netty/util/internal/logging/InternalLogger;
1: new io.netty.util.concurrent.ImmediateEventExecutor
dup
invokespecial io.netty.util.concurrent.ImmediateEventExecutor.<init>:()V
putstatic io.netty.util.concurrent.ImmediateEventExecutor.INSTANCE:Lio/netty/util/concurrent/ImmediateEventExecutor;
2: new io.netty.util.concurrent.ImmediateEventExecutor$1
dup
invokespecial io.netty.util.concurrent.ImmediateEventExecutor$1.<init>:()V
putstatic io.netty.util.concurrent.ImmediateEventExecutor.DELAYED_RUNNABLES:Lio/netty/util/concurrent/FastThreadLocal;
3: new io.netty.util.concurrent.ImmediateEventExecutor$2
dup
invokespecial io.netty.util.concurrent.ImmediateEventExecutor$2.<init>:()V
putstatic io.netty.util.concurrent.ImmediateEventExecutor.RUNNING:Lio/netty/util/concurrent/FastThreadLocal;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.util.concurrent.AbstractEventExecutor.<init>:()V
1: aload 0
new io.netty.util.concurrent.FailedFuture
dup
2: getstatic io.netty.util.concurrent.GlobalEventExecutor.INSTANCE:Lio/netty/util/concurrent/GlobalEventExecutor;
new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
3: invokespecial io.netty.util.concurrent.FailedFuture.<init>:(Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Throwable;)V
putfield io.netty.util.concurrent.ImmediateEventExecutor.terminationFuture:Lio/netty/util/concurrent/Future;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
public boolean inEventLoop();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
public boolean inEventLoop(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
0 1 1 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
thread
public io.netty.util.concurrent.Future<?> shutdownGracefully(long, long, java.util.concurrent.TimeUnit);
descriptor: (JJLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
invokevirtual io.netty.util.concurrent.ImmediateEventExecutor.terminationFuture:()Lio/netty/util/concurrent/Future;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
0 1 1 quietPeriod J
0 1 3 timeout J
0 1 5 unit Ljava/util/concurrent/TimeUnit;
Signature: (JJLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/Future<*>;
MethodParameters:
Name Flags
quietPeriod
timeout
unit
public io.netty.util.concurrent.Future<?> terminationFuture();
descriptor: ()Lio/netty/util/concurrent/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.concurrent.ImmediateEventExecutor.terminationFuture:Lio/netty/util/concurrent/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
Signature: ()Lio/netty/util/concurrent/Future<*>;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean isShuttingDown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
public boolean isShutdown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
public boolean isTerminated();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
public boolean awaitTermination(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 3 0: iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeout
unit
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "command"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic io.netty.util.concurrent.ImmediateEventExecutor.RUNNING:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 39
3: getstatic io.netty.util.concurrent.ImmediateEventExecutor.RUNNING:Lio/netty/util/concurrent/FastThreadLocal;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.netty.util.concurrent.FastThreadLocal.set:(Ljava/lang/Object;)V
4: aload 1
invokeinterface java.lang.Runnable.run:()V
5: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
start local 2 7: getstatic io.netty.util.concurrent.ImmediateEventExecutor.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Throwable caught while executing Runnable {}"
aload 1
aload 2
invokeinterface io.netty.util.internal.logging.InternalLogger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 8: getstatic io.netty.util.concurrent.ImmediateEventExecutor.DELAYED_RUNNABLES:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Queue
astore 4
start local 4 9: goto 14
start local 5 10: StackMap locals: io.netty.util.concurrent.ImmediateEventExecutor java.lang.Runnable top top java.util.Queue java.lang.Runnable
StackMap stack:
aload 5
invokeinterface java.lang.Runnable.run:()V
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 6
start local 6 13: getstatic io.netty.util.concurrent.ImmediateEventExecutor.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Throwable caught while executing Runnable {}"
aload 5
aload 6
invokeinterface io.netty.util.internal.logging.InternalLogger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.lang.Runnable
dup
astore 5
start local 5 15: ifnonnull 10
16: getstatic io.netty.util.concurrent.ImmediateEventExecutor.RUNNING:Lio/netty/util/concurrent/FastThreadLocal;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.netty.util.concurrent.FastThreadLocal.set:(Ljava/lang/Object;)V
end local 5 end local 4 17: goto 40
18: StackMap locals: io.netty.util.concurrent.ImmediateEventExecutor java.lang.Runnable
StackMap stack: java.lang.Throwable
astore 3
19: getstatic io.netty.util.concurrent.ImmediateEventExecutor.DELAYED_RUNNABLES:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Queue
astore 4
start local 4 20: goto 25
start local 5 21: StackMap locals: io.netty.util.concurrent.ImmediateEventExecutor java.lang.Runnable top java.lang.Throwable java.util.Queue java.lang.Runnable
StackMap stack:
aload 5
invokeinterface java.lang.Runnable.run:()V
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 6
start local 6 24: getstatic io.netty.util.concurrent.ImmediateEventExecutor.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Throwable caught while executing Runnable {}"
aload 5
aload 6
invokeinterface io.netty.util.internal.logging.InternalLogger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 end local 5 25: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.lang.Runnable
dup
astore 5
start local 5 26: ifnonnull 21
27: getstatic io.netty.util.concurrent.ImmediateEventExecutor.RUNNING:Lio/netty/util/concurrent/FastThreadLocal;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.netty.util.concurrent.FastThreadLocal.set:(Ljava/lang/Object;)V
end local 5 end local 4 28: aload 3
athrow
29: StackMap locals: io.netty.util.concurrent.ImmediateEventExecutor java.lang.Runnable
StackMap stack:
getstatic io.netty.util.concurrent.ImmediateEventExecutor.DELAYED_RUNNABLES:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Queue
astore 4
start local 4 30: goto 35
start local 5 31: StackMap locals: io.netty.util.concurrent.ImmediateEventExecutor java.lang.Runnable top top java.util.Queue java.lang.Runnable
StackMap stack:
aload 5
invokeinterface java.lang.Runnable.run:()V
32: goto 35
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 6
start local 6 34: getstatic io.netty.util.concurrent.ImmediateEventExecutor.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Throwable caught while executing Runnable {}"
aload 5
aload 6
invokeinterface io.netty.util.internal.logging.InternalLogger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 end local 5 35: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.lang.Runnable
dup
astore 5
start local 5 36: ifnonnull 31
37: getstatic io.netty.util.concurrent.ImmediateEventExecutor.RUNNING:Lio/netty/util/concurrent/FastThreadLocal;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.netty.util.concurrent.FastThreadLocal.set:(Ljava/lang/Object;)V
end local 5 end local 4 38: goto 40
39: StackMap locals: io.netty.util.concurrent.ImmediateEventExecutor java.lang.Runnable
StackMap stack:
getstatic io.netty.util.concurrent.ImmediateEventExecutor.DELAYED_RUNNABLES:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Queue
aload 1
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
40: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
0 41 1 command Ljava/lang/Runnable;
7 8 2 cause Ljava/lang/Throwable;
9 17 4 delayedRunnables Ljava/util/Queue<Ljava/lang/Runnable;>;
20 28 4 delayedRunnables Ljava/util/Queue<Ljava/lang/Runnable;>;
30 38 4 delayedRunnables Ljava/util/Queue<Ljava/lang/Runnable;>;
10 14 5 runnable Ljava/lang/Runnable;
15 17 5 runnable Ljava/lang/Runnable;
21 25 5 runnable Ljava/lang/Runnable;
26 28 5 runnable Ljava/lang/Runnable;
31 35 5 runnable Ljava/lang/Runnable;
36 38 5 runnable Ljava/lang/Runnable;
13 14 6 cause Ljava/lang/Throwable;
24 25 6 cause Ljava/lang/Throwable;
34 35 6 cause Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
10 11 12 Class java.lang.Throwable
4 8 18 any
21 22 23 Class java.lang.Throwable
31 32 33 Class java.lang.Throwable
MethodParameters:
Name Flags
command
public <V> io.netty.util.concurrent.Promise<V> newPromise();
descriptor: ()Lio/netty/util/concurrent/Promise;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.util.concurrent.ImmediateEventExecutor$ImmediatePromise
dup
aload 0
invokespecial io.netty.util.concurrent.ImmediateEventExecutor$ImmediatePromise.<init>:(Lio/netty/util/concurrent/EventExecutor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
Signature: <V:Ljava/lang/Object;>()Lio/netty/util/concurrent/Promise<TV;>;
public <V> io.netty.util.concurrent.ProgressivePromise<V> newProgressivePromise();
descriptor: ()Lio/netty/util/concurrent/ProgressivePromise;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.util.concurrent.ImmediateEventExecutor$ImmediateProgressivePromise
dup
aload 0
invokespecial io.netty.util.concurrent.ImmediateEventExecutor$ImmediateProgressivePromise.<init>:(Lio/netty/util/concurrent/EventExecutor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/ImmediateEventExecutor;
Signature: <V:Ljava/lang/Object;>()Lio/netty/util/concurrent/ProgressivePromise<TV;>;
}
SourceFile: "ImmediateEventExecutor.java"
NestMembers:
io.netty.util.concurrent.ImmediateEventExecutor$1 io.netty.util.concurrent.ImmediateEventExecutor$2 io.netty.util.concurrent.ImmediateEventExecutor$ImmediateProgressivePromise io.netty.util.concurrent.ImmediateEventExecutor$ImmediatePromise
InnerClasses:
io.netty.util.concurrent.ImmediateEventExecutor$1
io.netty.util.concurrent.ImmediateEventExecutor$2
ImmediateProgressivePromise = io.netty.util.concurrent.ImmediateEventExecutor$ImmediateProgressivePromise of io.netty.util.concurrent.ImmediateEventExecutor
ImmediatePromise = io.netty.util.concurrent.ImmediateEventExecutor$ImmediatePromise of io.netty.util.concurrent.ImmediateEventExecutor