final class io.netty.channel.embedded.EmbeddedEventLoop extends io.netty.util.concurrent.AbstractScheduledEventExecutor implements io.netty.channel.EventLoop
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.embedded.EmbeddedEventLoop
super_class: io.netty.util.concurrent.AbstractScheduledEventExecutor
{
private final java.util.Queue<java.lang.Runnable> tasks;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<Ljava/lang/Runnable;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.util.concurrent.AbstractScheduledEventExecutor.<init>:()V
1: aload 0
new java.util.ArrayDeque
dup
iconst_2
invokespecial java.util.ArrayDeque.<init>:(I)V
putfield io.netty.channel.embedded.EmbeddedEventLoop.tasks:Ljava/util/Queue;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
public io.netty.channel.EventLoopGroup parent();
descriptor: ()Lio/netty/channel/EventLoopGroup;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.util.concurrent.AbstractScheduledEventExecutor.parent:()Lio/netty/util/concurrent/EventExecutorGroup;
checkcast io.netty.channel.EventLoopGroup
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
public io.netty.channel.EventLoop next();
descriptor: ()Lio/netty/channel/EventLoop;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.util.concurrent.AbstractScheduledEventExecutor.next:()Lio/netty/util/concurrent/EventExecutor;
checkcast io.netty.channel.EventLoop
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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:
aload 0
getfield io.netty.channel.embedded.EmbeddedEventLoop.tasks:Ljava/util/Queue;
aload 1
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
0 4 1 command Ljava/lang/Runnable;
MethodParameters:
Name Flags
command
void runTasks();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.embedded.EmbeddedEventLoop.tasks:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.lang.Runnable
astore 1
start local 1 1: aload 1
ifnonnull 3
2: goto 5
3: StackMap locals: java.lang.Runnable
StackMap stack:
aload 1
invokeinterface java.lang.Runnable.run:()V
end local 1 4: goto 0
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
1 4 1 task Ljava/lang/Runnable;
long runScheduledTasks();
descriptor: ()J
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic io.netty.util.concurrent.AbstractScheduledEventExecutor.nanoTime:()J
lstore 1
start local 1 1: StackMap locals: long
StackMap stack:
aload 0
lload 1
invokevirtual io.netty.channel.embedded.EmbeddedEventLoop.pollScheduledTask:(J)Ljava/lang/Runnable;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 0
invokevirtual io.netty.channel.embedded.EmbeddedEventLoop.nextScheduledTaskNano:()J
lreturn
4: StackMap locals: java.lang.Runnable
StackMap stack:
aload 3
invokeinterface java.lang.Runnable.run:()V
end local 3 5: goto 1
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
1 6 1 time J
2 5 3 task Ljava/lang/Runnable;
long nextScheduledTask();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.channel.embedded.EmbeddedEventLoop.nextScheduledTaskNano:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
protected void cancelScheduledTasks();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.util.concurrent.AbstractScheduledEventExecutor.cancelScheduledTasks:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
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=2, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
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=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
Signature: ()Lio/netty/util/concurrent/Future<*>;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
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/channel/embedded/EmbeddedEventLoop;
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/channel/embedded/EmbeddedEventLoop;
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/channel/embedded/EmbeddedEventLoop;
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/channel/embedded/EmbeddedEventLoop;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeout
unit
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new io.netty.channel.DefaultChannelPromise
dup
aload 1
aload 0
invokespecial io.netty.channel.DefaultChannelPromise.<init>:(Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V
invokevirtual io.netty.channel.embedded.EmbeddedEventLoop.register:(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
0 1 1 channel Lio/netty/channel/Channel;
MethodParameters:
Name Flags
channel
public io.netty.channel.ChannelFuture register(io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "promise"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 1
invokeinterface io.netty.channel.ChannelPromise.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.unsafe:()Lio/netty/channel/Channel$Unsafe;
aload 0
aload 1
invokeinterface io.netty.channel.Channel$Unsafe.register:(Lio/netty/channel/EventLoop;Lio/netty/channel/ChannelPromise;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
0 3 1 promise Lio/netty/channel/ChannelPromise;
MethodParameters:
Name Flags
promise
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.netty.channel.Channel.unsafe:()Lio/netty/channel/Channel$Unsafe;
aload 0
aload 2
invokeinterface io.netty.channel.Channel$Unsafe.register:(Lio/netty/channel/EventLoop;Lio/netty/channel/ChannelPromise;)V
1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/embedded/EmbeddedEventLoop;
0 2 1 channel Lio/netty/channel/Channel;
0 2 2 promise Lio/netty/channel/ChannelPromise;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
channel
promise
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/channel/embedded/EmbeddedEventLoop;
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/channel/embedded/EmbeddedEventLoop;
0 1 1 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
thread
public io.netty.util.concurrent.EventExecutorGroup parent();
descriptor: ()Lio/netty/util/concurrent/EventExecutorGroup;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.channel.embedded.EmbeddedEventLoop.parent:()Lio/netty/channel/EventLoopGroup;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.util.concurrent.EventExecutor next();
descriptor: ()Lio/netty/util/concurrent/EventExecutor;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.channel.embedded.EmbeddedEventLoop.next:()Lio/netty/channel/EventLoop;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "EmbeddedEventLoop.java"
InnerClasses:
public abstract Unsafe = io.netty.channel.Channel$Unsafe of io.netty.channel.Channel