final class io.netty.channel.epoll.NativeDatagramPacketArray implements io.netty.channel.ChannelOutboundBuffer$MessageProcessor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.epoll.NativeDatagramPacketArray
super_class: java.lang.Object
{
private static final io.netty.util.concurrent.FastThreadLocal<io.netty.channel.epoll.NativeDatagramPacketArray> ARRAY;
descriptor: Lio/netty/util/concurrent/FastThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/concurrent/FastThreadLocal<Lio/netty/channel/epoll/NativeDatagramPacketArray;>;
private final io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket[] packets;
descriptor: [Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.channel.epoll.NativeDatagramPacketArray$1
dup
invokespecial io.netty.channel.epoll.NativeDatagramPacketArray$1.<init>:()V
1: putstatic io.netty.channel.epoll.NativeDatagramPacketArray.ARRAY:Lio/netty/util/concurrent/FastThreadLocal;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.netty.channel.unix.Limits.UIO_MAX_IOV:I
anewarray io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket
putfield io.netty.channel.epoll.NativeDatagramPacketArray.packets:[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: io.netty.channel.epoll.NativeDatagramPacketArray int
StackMap stack:
aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.packets:[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
iload 1
new io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket
dup
invokespecial io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.<init>:()V
aastore
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.packets:[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
arraylength
if_icmplt 4
end local 1 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray;
3 7 1 i I
boolean add(io.netty.channel.socket.DatagramPacket);
descriptor: (Lio/netty/channel/socket/DatagramPacket;)Z
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.count:I
aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.packets:[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
arraylength
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.channel.socket.DatagramPacket.content:()Ljava/lang/Object;
checkcast io.netty.buffer.ByteBuf
astore 2
start local 2 3: aload 2
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
istore 3
start local 3 4: iload 3
ifne 6
5: iconst_1
ireturn
6: StackMap locals: io.netty.buffer.ByteBuf int
StackMap stack:
aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.packets:[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.count:I
aaload
astore 4
start local 4 7: aload 1
invokevirtual io.netty.channel.socket.DatagramPacket.recipient:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
astore 5
start local 5 8: aload 4
aload 2
aload 5
invokevirtual io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.init:(Lio/netty/buffer/ByteBuf;Ljava/net/InetSocketAddress;)Z
ifne 10
9: iconst_0
ireturn
10: StackMap locals: io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket java.net.InetSocketAddress
StackMap stack:
aload 0
dup
getfield io.netty.channel.epoll.NativeDatagramPacketArray.count:I
iconst_1
iadd
putfield io.netty.channel.epoll.NativeDatagramPacketArray.count:I
11: iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray;
0 12 1 packet Lio/netty/channel/socket/DatagramPacket;
3 12 2 content Lio/netty/buffer/ByteBuf;
4 12 3 len I
7 12 4 p Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
8 12 5 recipient Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
packet
public boolean processMessage(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.channel.socket.DatagramPacket
ifeq 1
aload 0
aload 1
checkcast io.netty.channel.socket.DatagramPacket
invokevirtual io.netty.channel.epoll.NativeDatagramPacketArray.add:(Lio/netty/channel/socket/DatagramPacket;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray;
0 2 1 msg Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
msg
int count();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray;
io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket[] packets();
descriptor: ()[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.epoll.NativeDatagramPacketArray.packets:[Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray;
static io.netty.channel.epoll.NativeDatagramPacketArray getInstance(io.netty.channel.ChannelOutboundBuffer);
descriptor: (Lio/netty/channel/ChannelOutboundBuffer;)Lio/netty/channel/epoll/NativeDatagramPacketArray;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic io.netty.channel.epoll.NativeDatagramPacketArray.ARRAY:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast io.netty.channel.epoll.NativeDatagramPacketArray
astore 1
start local 1 1: aload 1
iconst_0
putfield io.netty.channel.epoll.NativeDatagramPacketArray.count:I
2: aload 0
aload 1
invokevirtual io.netty.channel.ChannelOutboundBuffer.forEachFlushedMessage:(Lio/netty/channel/ChannelOutboundBuffer$MessageProcessor;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buffer Lio/netty/channel/ChannelOutboundBuffer;
1 4 1 array Lio/netty/channel/epoll/NativeDatagramPacketArray;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
buffer
}
SourceFile: "NativeDatagramPacketArray.java"
NestMembers:
io.netty.channel.epoll.NativeDatagramPacketArray$1 io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket
InnerClasses:
public abstract MessageProcessor = io.netty.channel.ChannelOutboundBuffer$MessageProcessor of io.netty.channel.ChannelOutboundBuffer
io.netty.channel.epoll.NativeDatagramPacketArray$1
final NativeDatagramPacket = io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket of io.netty.channel.epoll.NativeDatagramPacketArray