public final class io.vertx.core.net.impl.VertxEventLoopGroup extends io.netty.util.concurrent.AbstractEventExecutorGroup implements io.netty.channel.EventLoopGroup
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.net.impl.VertxEventLoopGroup
super_class: io.netty.util.concurrent.AbstractEventExecutorGroup
{
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.List<io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder> workers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;>;
private final java.util.Set<io.netty.util.concurrent.EventExecutor> children;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lio/netty/util/concurrent/EventExecutor;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.util.concurrent.AbstractEventExecutorGroup.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
2: aload 0
new io.vertx.core.net.impl.VertxEventLoopGroup$1
dup
aload 0
invokespecial io.vertx.core.net.impl.VertxEventLoopGroup$1.<init>:(Lio/vertx/core/net/impl/VertxEventLoopGroup;)V
putfield io.vertx.core.net.impl.VertxEventLoopGroup.children:Ljava/util/Set;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
public synchronized io.netty.channel.EventLoop next();
descriptor: ()Lio/netty/channel/EventLoop;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.pos:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder
getfield io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.worker:Lio/netty/channel/EventLoop;
astore 1
start local 1 3: aload 0
dup
getfield io.vertx.core.net.impl.VertxEventLoopGroup.pos:I
iconst_1
iadd
putfield io.vertx.core.net.impl.VertxEventLoopGroup.pos:I
4: aload 0
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.checkPos:()V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
3 6 1 worker Lio/netty/channel/EventLoop;
public java.util.Iterator<io.netty.util.concurrent.EventExecutor> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.children:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
Signature: ()Ljava/util/Iterator<Lio/netty/util/concurrent/EventExecutor;>;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.next:()Lio/netty/channel/EventLoop;
aload 1
invokeinterface io.netty.channel.EventLoop.register:(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
0 1 1 channel Lio/netty/channel/Channel;
MethodParameters:
Name Flags
channel
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 0
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.next:()Lio/netty/channel/EventLoop;
aload 1
aload 2
invokeinterface io.netty.channel.EventLoop.register:(Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
0 1 1 channel Lio/netty/channel/Channel;
0 1 2 promise Lio/netty/channel/ChannelPromise;
MethodParameters:
Name Flags
channel
promise
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.next:()Lio/netty/channel/EventLoop;
aload 1
invokeinterface io.netty.channel.EventLoop.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/vertx/core/net/impl/VertxEventLoopGroup;
0 1 1 promise Lio/netty/channel/ChannelPromise;
MethodParameters:
Name Flags
promise
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/vertx/core/net/impl/VertxEventLoopGroup;
public boolean isTerminated();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.isShutdown:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
public synchronized boolean awaitTermination(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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/vertx/core/net/impl/VertxEventLoopGroup;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeout
unit
public synchronized void addWorker(io.netty.channel.EventLoop);
descriptor: (Lio/netty/channel/EventLoop;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.findHolder:(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
new io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder
dup
aload 1
invokespecial io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.<init>:(Lio/netty/channel/EventLoop;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: goto 5
4: StackMap locals: io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder
StackMap stack:
aload 2
dup
getfield io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.count:I
iconst_1
iadd
putfield io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.count:I
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
0 6 1 worker Lio/netty/channel/EventLoop;
1 6 2 holder Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
MethodParameters:
Name Flags
worker
public synchronized void shutdown();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Should never be called"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
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/vertx/core/net/impl/VertxEventLoopGroup;
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=3, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: new java.lang.UnsupportedOperationException
dup
ldc "Should never be called"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)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/vertx/core/net/impl/VertxEventLoopGroup;
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=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Should never be called"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
Signature: ()Lio/netty/util/concurrent/Future<*>;
private io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder findHolder(io.netty.channel.EventLoop);
descriptor: (Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder
dup
aload 1
invokespecial io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.<init>:(Lio/netty/channel/EventLoop;)V
astore 2
start local 2 1: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: io.vertx.core.net.impl.VertxEventLoopGroup io.netty.channel.EventLoop io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder
astore 3
start local 3 3: aload 3
aload 2
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
0 7 1 worker Lio/netty/channel/EventLoop;
1 7 2 wh Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
3 5 3 holder Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
MethodParameters:
Name Flags
worker
public synchronized void removeWorker(io.netty.channel.EventLoop);
descriptor: (Lio/netty/channel/EventLoop;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.findHolder:(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
astore 2
start local 2 1: aload 2
ifnull 7
2: aload 2
dup
getfield io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.count:I
iconst_1
isub
putfield io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.count:I
3: aload 2
getfield io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder.count:I
ifne 5
4: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
aload 2
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
5: StackMap locals: io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder
StackMap stack:
aload 0
invokevirtual io.vertx.core.net.impl.VertxEventLoopGroup.checkPos:()V
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Can't find worker to remove"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
0 9 1 worker Lio/netty/channel/EventLoop;
1 9 2 holder Lio/vertx/core/net/impl/VertxEventLoopGroup$EventLoopHolder;
MethodParameters:
Name Flags
worker
public synchronized int workerCount();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
private void checkPos();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.pos:I
aload 0
getfield io.vertx.core.net.impl.VertxEventLoopGroup.workers:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpne 2
1: aload 0
iconst_0
putfield io.vertx.core.net.impl.VertxEventLoopGroup.pos:I
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/VertxEventLoopGroup;
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.vertx.core.net.impl.VertxEventLoopGroup.next:()Lio/netty/channel/EventLoop;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "VertxEventLoopGroup.java"
NestMembers:
io.vertx.core.net.impl.VertxEventLoopGroup$1 io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopIterator
InnerClasses:
io.vertx.core.net.impl.VertxEventLoopGroup$1
private EventLoopHolder = io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopHolder of io.vertx.core.net.impl.VertxEventLoopGroup
private final EventLoopIterator = io.vertx.core.net.impl.VertxEventLoopGroup$EventLoopIterator of io.vertx.core.net.impl.VertxEventLoopGroup