public class io.netty.channel.DefaultChannelConfig implements io.netty.channel.ChannelConfig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.channel.DefaultChannelConfig
super_class: java.lang.Object
{
private static final io.netty.channel.MessageSizeEstimator DEFAULT_MSG_SIZE_ESTIMATOR;
descriptor: Lio/netty/channel/MessageSizeEstimator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_CONNECT_TIMEOUT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 30000
private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<io.netty.channel.DefaultChannelConfig> AUTOREAD_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lio/netty/channel/DefaultChannelConfig;>;
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<io.netty.channel.DefaultChannelConfig, io.netty.channel.WriteBufferWaterMark> WATERMARK_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lio/netty/channel/DefaultChannelConfig;Lio/netty/channel/WriteBufferWaterMark;>;
protected final io.netty.channel.Channel channel;
descriptor: Lio/netty/channel/Channel;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private volatile io.netty.buffer.ByteBufAllocator allocator;
descriptor: Lio/netty/buffer/ByteBufAllocator;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile io.netty.channel.RecvByteBufAllocator rcvBufAllocator;
descriptor: Lio/netty/channel/RecvByteBufAllocator;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile io.netty.channel.MessageSizeEstimator msgSizeEstimator;
descriptor: Lio/netty/channel/MessageSizeEstimator;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int connectTimeoutMillis;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int writeSpinCount;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int autoRead;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean autoClose;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile io.netty.channel.WriteBufferWaterMark writeBufferWaterMark;
descriptor: Lio/netty/channel/WriteBufferWaterMark;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean pinEventExecutor;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic io.netty.channel.DefaultMessageSizeEstimator.DEFAULT:Lio/netty/channel/MessageSizeEstimator;
putstatic io.netty.channel.DefaultChannelConfig.DEFAULT_MSG_SIZE_ESTIMATOR:Lio/netty/channel/MessageSizeEstimator;
1: ldc Lio/netty/channel/DefaultChannelConfig;
ldc "autoRead"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2: putstatic io.netty.channel.DefaultChannelConfig.AUTOREAD_UPDATER:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
3: ldc Lio/netty/channel/DefaultChannelConfig;
ldc Lio/netty/channel/WriteBufferWaterMark;
ldc "writeBufferWaterMark"
4: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
5: putstatic io.netty.channel.DefaultChannelConfig.WATERMARK_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new io.netty.channel.AdaptiveRecvByteBufAllocator
dup
invokespecial io.netty.channel.AdaptiveRecvByteBufAllocator.<init>:()V
invokespecial io.netty.channel.DefaultChannelConfig.<init>:(Lio/netty/channel/Channel;Lio/netty/channel/RecvByteBufAllocator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/DefaultChannelConfig;
0 2 1 channel Lio/netty/channel/Channel;
MethodParameters:
Name Flags
channel
protected void <init>(io.netty.channel.Channel, io.netty.channel.RecvByteBufAllocator);
descriptor: (Lio/netty/channel/Channel;Lio/netty/channel/RecvByteBufAllocator;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.netty.buffer.ByteBufAllocator.DEFAULT:Lio/netty/buffer/ByteBufAllocator;
putfield io.netty.channel.DefaultChannelConfig.allocator:Lio/netty/buffer/ByteBufAllocator;
2: aload 0
getstatic io.netty.channel.DefaultChannelConfig.DEFAULT_MSG_SIZE_ESTIMATOR:Lio/netty/channel/MessageSizeEstimator;
putfield io.netty.channel.DefaultChannelConfig.msgSizeEstimator:Lio/netty/channel/MessageSizeEstimator;
3: aload 0
sipush 30000
putfield io.netty.channel.DefaultChannelConfig.connectTimeoutMillis:I
4: aload 0
bipush 16
putfield io.netty.channel.DefaultChannelConfig.writeSpinCount:I
5: aload 0
iconst_1
putfield io.netty.channel.DefaultChannelConfig.autoRead:I
6: aload 0
iconst_1
putfield io.netty.channel.DefaultChannelConfig.autoClose:Z
7: aload 0
getstatic io.netty.channel.WriteBufferWaterMark.DEFAULT:Lio/netty/channel/WriteBufferWaterMark;
putfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
8: aload 0
iconst_1
putfield io.netty.channel.DefaultChannelConfig.pinEventExecutor:Z
9: aload 0
aload 2
aload 1
invokeinterface io.netty.channel.Channel.metadata:()Lio/netty/channel/ChannelMetadata;
invokevirtual io.netty.channel.DefaultChannelConfig.setRecvByteBufAllocator:(Lio/netty/channel/RecvByteBufAllocator;Lio/netty/channel/ChannelMetadata;)V
10: aload 0
aload 1
putfield io.netty.channel.DefaultChannelConfig.channel:Lio/netty/channel/Channel;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/channel/DefaultChannelConfig;
0 12 1 channel Lio/netty/channel/Channel;
0 12 2 allocator Lio/netty/channel/RecvByteBufAllocator;
MethodParameters:
Name Flags
channel
allocator
public java.util.Map<io.netty.channel.ChannelOption<?>, java.lang.Object> getOptions();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
1: aconst_null
bipush 12
anewarray io.netty.channel.ChannelOption
dup
iconst_0
2: getstatic io.netty.channel.ChannelOption.CONNECT_TIMEOUT_MILLIS:Lio/netty/channel/ChannelOption;
aastore
dup
iconst_1
getstatic io.netty.channel.ChannelOption.MAX_MESSAGES_PER_READ:Lio/netty/channel/ChannelOption;
aastore
dup
iconst_2
getstatic io.netty.channel.ChannelOption.WRITE_SPIN_COUNT:Lio/netty/channel/ChannelOption;
aastore
dup
iconst_3
3: getstatic io.netty.channel.ChannelOption.ALLOCATOR:Lio/netty/channel/ChannelOption;
aastore
dup
iconst_4
getstatic io.netty.channel.ChannelOption.AUTO_READ:Lio/netty/channel/ChannelOption;
aastore
dup
iconst_5
getstatic io.netty.channel.ChannelOption.AUTO_CLOSE:Lio/netty/channel/ChannelOption;
aastore
dup
bipush 6
getstatic io.netty.channel.ChannelOption.RCVBUF_ALLOCATOR:Lio/netty/channel/ChannelOption;
aastore
dup
bipush 7
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK:Lio/netty/channel/ChannelOption;
aastore
dup
bipush 8
4: getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_LOW_WATER_MARK:Lio/netty/channel/ChannelOption;
aastore
dup
bipush 9
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_WATER_MARK:Lio/netty/channel/ChannelOption;
aastore
dup
bipush 10
getstatic io.netty.channel.ChannelOption.MESSAGE_SIZE_ESTIMATOR:Lio/netty/channel/ChannelOption;
aastore
dup
bipush 11
5: getstatic io.netty.channel.ChannelOption.SINGLE_EVENTEXECUTOR_PER_GROUP:Lio/netty/channel/ChannelOption;
aastore
6: invokevirtual io.netty.channel.DefaultChannelConfig.getOptions:(Ljava/util/Map;[Lio/netty/channel/ChannelOption;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/channel/DefaultChannelConfig;
Signature: ()Ljava/util/Map<Lio/netty/channel/ChannelOption<*>;Ljava/lang/Object;>;
protected java.util.Map<io.netty.channel.ChannelOption<?>, java.lang.Object> getOptions(java.util.Map<io.netty.channel.ChannelOption<?>, java.lang.Object>, io.netty.channel.ChannelOption<?>[]);
descriptor: (Ljava/util/Map;[Lio/netty/channel/ChannelOption;)Ljava/util/Map;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
astore 1
2: StackMap locals:
StackMap stack:
aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: io.netty.channel.DefaultChannelConfig java.util.Map io.netty.channel.ChannelOption[] top int int io.netty.channel.ChannelOption[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 1
aload 3
aload 0
aload 3
invokevirtual io.netty.channel.DefaultChannelConfig.getOption:(Lio/netty/channel/ChannelOption;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/channel/DefaultChannelConfig;
0 8 1 result Ljava/util/Map<Lio/netty/channel/ChannelOption<*>;Ljava/lang/Object;>;
0 8 2 options [Lio/netty/channel/ChannelOption;
4 5 3 o Lio/netty/channel/ChannelOption<*>;
Signature: (Ljava/util/Map<Lio/netty/channel/ChannelOption<*>;Ljava/lang/Object;>;[Lio/netty/channel/ChannelOption<*>;)Ljava/util/Map<Lio/netty/channel/ChannelOption<*>;Ljava/lang/Object;>;
MethodParameters:
Name Flags
result
options
public boolean setOptions(java.util.Map<io.netty.channel.ChannelOption<?>, ?>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "options"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: io.netty.channel.DefaultChannelConfig java.util.Map int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 0
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast io.netty.channel.ChannelOption
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual io.netty.channel.DefaultChannelConfig.setOption:(Lio/netty/channel/ChannelOption;Ljava/lang/Object;)Z
ifne 7
6: iconst_0
istore 2
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/channel/DefaultChannelConfig;
0 9 1 options Ljava/util/Map<Lio/netty/channel/ChannelOption<*>;*>;
3 9 2 setAllOptions Z
5 7 3 e Ljava/util/Map$Entry<Lio/netty/channel/ChannelOption<*>;*>;
Signature: (Ljava/util/Map<Lio/netty/channel/ChannelOption<*>;*>;)Z
MethodParameters:
Name Flags
options
public <T> T getOption(io.netty.channel.ChannelOption<T>);
descriptor: (Lio/netty/channel/ChannelOption;)Ljava/lang/Object;
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 "option"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.CONNECT_TIMEOUT_MILLIS:Lio/netty/channel/ChannelOption;
if_acmpne 4
3: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getConnectTimeoutMillis:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.MAX_MESSAGES_PER_READ:Lio/netty/channel/ChannelOption;
if_acmpne 6
5: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getMaxMessagesPerRead:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
6: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.WRITE_SPIN_COUNT:Lio/netty/channel/ChannelOption;
if_acmpne 8
7: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getWriteSpinCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
8: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.ALLOCATOR:Lio/netty/channel/ChannelOption;
if_acmpne 10
9: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getAllocator:()Lio/netty/buffer/ByteBufAllocator;
areturn
10: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.RCVBUF_ALLOCATOR:Lio/netty/channel/ChannelOption;
if_acmpne 12
11: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getRecvByteBufAllocator:()Lio/netty/channel/RecvByteBufAllocator;
areturn
12: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.AUTO_READ:Lio/netty/channel/ChannelOption;
if_acmpne 14
13: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.isAutoRead:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
14: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.AUTO_CLOSE:Lio/netty/channel/ChannelOption;
if_acmpne 16
15: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.isAutoClose:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
16: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK:Lio/netty/channel/ChannelOption;
if_acmpne 18
17: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getWriteBufferHighWaterMark:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
18: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_LOW_WATER_MARK:Lio/netty/channel/ChannelOption;
if_acmpne 20
19: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getWriteBufferLowWaterMark:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
20: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_WATER_MARK:Lio/netty/channel/ChannelOption;
if_acmpne 22
21: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getWriteBufferWaterMark:()Lio/netty/channel/WriteBufferWaterMark;
areturn
22: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.MESSAGE_SIZE_ESTIMATOR:Lio/netty/channel/ChannelOption;
if_acmpne 24
23: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getMessageSizeEstimator:()Lio/netty/channel/MessageSizeEstimator;
areturn
24: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.channel.ChannelOption.SINGLE_EVENTEXECUTOR_PER_GROUP:Lio/netty/channel/ChannelOption;
if_acmpne 26
25: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getPinEventExecutorPerGroup:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
26: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lio/netty/channel/DefaultChannelConfig;
0 27 1 option Lio/netty/channel/ChannelOption<TT;>;
Signature: <T:Ljava/lang/Object;>(Lio/netty/channel/ChannelOption<TT;>;)TT;
MethodParameters:
Name Flags
option
public <T> boolean setOption(io.netty.channel.ChannelOption<T>, );
descriptor: (Lio/netty/channel/ChannelOption;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual io.netty.channel.DefaultChannelConfig.validate:(Lio/netty/channel/ChannelOption;Ljava/lang/Object;)V
1: aload 1
getstatic io.netty.channel.ChannelOption.CONNECT_TIMEOUT_MILLIS:Lio/netty/channel/ChannelOption;
if_acmpne 4
2: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.netty.channel.DefaultChannelConfig.setConnectTimeoutMillis:(I)Lio/netty/channel/ChannelConfig;
pop
3: goto 38
StackMap locals:
StackMap stack:
4: aload 1
getstatic io.netty.channel.ChannelOption.MAX_MESSAGES_PER_READ:Lio/netty/channel/ChannelOption;
if_acmpne 7
5: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.netty.channel.DefaultChannelConfig.setMaxMessagesPerRead:(I)Lio/netty/channel/ChannelConfig;
pop
6: goto 38
StackMap locals:
StackMap stack:
7: aload 1
getstatic io.netty.channel.ChannelOption.WRITE_SPIN_COUNT:Lio/netty/channel/ChannelOption;
if_acmpne 10
8: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.netty.channel.DefaultChannelConfig.setWriteSpinCount:(I)Lio/netty/channel/ChannelConfig;
pop
9: goto 38
StackMap locals:
StackMap stack:
10: aload 1
getstatic io.netty.channel.ChannelOption.ALLOCATOR:Lio/netty/channel/ChannelOption;
if_acmpne 13
11: aload 0
aload 2
checkcast io.netty.buffer.ByteBufAllocator
invokevirtual io.netty.channel.DefaultChannelConfig.setAllocator:(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/channel/ChannelConfig;
pop
12: goto 38
StackMap locals:
StackMap stack:
13: aload 1
getstatic io.netty.channel.ChannelOption.RCVBUF_ALLOCATOR:Lio/netty/channel/ChannelOption;
if_acmpne 16
14: aload 0
aload 2
checkcast io.netty.channel.RecvByteBufAllocator
invokevirtual io.netty.channel.DefaultChannelConfig.setRecvByteBufAllocator:(Lio/netty/channel/RecvByteBufAllocator;)Lio/netty/channel/ChannelConfig;
pop
15: goto 38
StackMap locals:
StackMap stack:
16: aload 1
getstatic io.netty.channel.ChannelOption.AUTO_READ:Lio/netty/channel/ChannelOption;
if_acmpne 19
17: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.netty.channel.DefaultChannelConfig.setAutoRead:(Z)Lio/netty/channel/ChannelConfig;
pop
18: goto 38
StackMap locals:
StackMap stack:
19: aload 1
getstatic io.netty.channel.ChannelOption.AUTO_CLOSE:Lio/netty/channel/ChannelOption;
if_acmpne 22
20: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.netty.channel.DefaultChannelConfig.setAutoClose:(Z)Lio/netty/channel/ChannelConfig;
pop
21: goto 38
StackMap locals:
StackMap stack:
22: aload 1
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK:Lio/netty/channel/ChannelOption;
if_acmpne 25
23: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.netty.channel.DefaultChannelConfig.setWriteBufferHighWaterMark:(I)Lio/netty/channel/ChannelConfig;
pop
24: goto 38
StackMap locals:
StackMap stack:
25: aload 1
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_LOW_WATER_MARK:Lio/netty/channel/ChannelOption;
if_acmpne 28
26: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.netty.channel.DefaultChannelConfig.setWriteBufferLowWaterMark:(I)Lio/netty/channel/ChannelConfig;
pop
27: goto 38
StackMap locals:
StackMap stack:
28: aload 1
getstatic io.netty.channel.ChannelOption.WRITE_BUFFER_WATER_MARK:Lio/netty/channel/ChannelOption;
if_acmpne 31
29: aload 0
aload 2
checkcast io.netty.channel.WriteBufferWaterMark
invokevirtual io.netty.channel.DefaultChannelConfig.setWriteBufferWaterMark:(Lio/netty/channel/WriteBufferWaterMark;)Lio/netty/channel/ChannelConfig;
pop
30: goto 38
StackMap locals:
StackMap stack:
31: aload 1
getstatic io.netty.channel.ChannelOption.MESSAGE_SIZE_ESTIMATOR:Lio/netty/channel/ChannelOption;
if_acmpne 34
32: aload 0
aload 2
checkcast io.netty.channel.MessageSizeEstimator
invokevirtual io.netty.channel.DefaultChannelConfig.setMessageSizeEstimator:(Lio/netty/channel/MessageSizeEstimator;)Lio/netty/channel/ChannelConfig;
pop
33: goto 38
StackMap locals:
StackMap stack:
34: aload 1
getstatic io.netty.channel.ChannelOption.SINGLE_EVENTEXECUTOR_PER_GROUP:Lio/netty/channel/ChannelOption;
if_acmpne 37
35: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.netty.channel.DefaultChannelConfig.setPinEventExecutorPerGroup:(Z)Lio/netty/channel/ChannelConfig;
pop
36: goto 38
37: StackMap locals:
StackMap stack:
iconst_0
ireturn
38: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lio/netty/channel/DefaultChannelConfig;
0 39 1 option Lio/netty/channel/ChannelOption<TT;>;
0 39 2 value TT;
Signature: <T:Ljava/lang/Object;>(Lio/netty/channel/ChannelOption<TT;>;TT;)Z
MethodParameters:
Name Flags
option
value
protected <T> void validate(io.netty.channel.ChannelOption<T>, );
descriptor: (Lio/netty/channel/ChannelOption;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "option"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual io.netty.channel.ChannelOption.validate:(Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/DefaultChannelConfig;
0 4 1 option Lio/netty/channel/ChannelOption<TT;>;
0 4 2 value TT;
Signature: <T:Ljava/lang/Object;>(Lio/netty/channel/ChannelOption<TT;>;TT;)V
MethodParameters:
Name Flags
option
value
public int getConnectTimeoutMillis();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.connectTimeoutMillis:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setConnectTimeoutMillis(int);
descriptor: (I)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "connectTimeoutMillis: %d (expected: >= 0)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield io.netty.channel.DefaultChannelConfig.connectTimeoutMillis:I
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/DefaultChannelConfig;
0 6 1 connectTimeoutMillis I
MethodParameters:
Name Flags
connectTimeoutMillis
public int getMaxMessagesPerRead();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getRecvByteBufAllocator:()Lio/netty/channel/RecvByteBufAllocator;
checkcast io.netty.channel.MaxMessagesRecvByteBufAllocator
astore 1
start local 1 1: aload 1
invokeinterface io.netty.channel.MaxMessagesRecvByteBufAllocator.maxMessagesPerRead:()I
2: ireturn
end local 1 3: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 1
start local 1 4: new java.lang.IllegalStateException
dup
ldc "getRecvByteBufAllocator() must return an object of type MaxMessagesRecvByteBufAllocator"
5: aload 1
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/channel/DefaultChannelConfig;
1 3 1 allocator Lio/netty/channel/MaxMessagesRecvByteBufAllocator;
4 7 1 e Ljava/lang/ClassCastException;
Exception table:
from to target type
0 2 3 Class java.lang.ClassCastException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public io.netty.channel.ChannelConfig setMaxMessagesPerRead(int);
descriptor: (I)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.getRecvByteBufAllocator:()Lio/netty/channel/RecvByteBufAllocator;
checkcast io.netty.channel.MaxMessagesRecvByteBufAllocator
astore 2
start local 2 1: aload 2
iload 1
invokeinterface io.netty.channel.MaxMessagesRecvByteBufAllocator.maxMessagesPerRead:(I)Lio/netty/channel/MaxMessagesRecvByteBufAllocator;
pop
2: aload 0
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 2
start local 2 5: new java.lang.IllegalStateException
dup
ldc "getRecvByteBufAllocator() must return an object of type MaxMessagesRecvByteBufAllocator"
6: aload 2
7: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/channel/DefaultChannelConfig;
0 8 1 maxMessagesPerRead I
1 4 2 allocator Lio/netty/channel/MaxMessagesRecvByteBufAllocator;
5 8 2 e Ljava/lang/ClassCastException;
Exception table:
from to target type
0 3 4 Class java.lang.ClassCastException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
maxMessagesPerRead
public int getWriteSpinCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.writeSpinCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setWriteSpinCount(int);
descriptor: (I)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifgt 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "writeSpinCount must be a positive integer."
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
ldc 2147483647
if_icmpne 6
5: iinc 1 -1
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield io.netty.channel.DefaultChannelConfig.writeSpinCount:I
7: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/channel/DefaultChannelConfig;
0 8 1 writeSpinCount I
MethodParameters:
Name Flags
writeSpinCount
public io.netty.buffer.ByteBufAllocator getAllocator();
descriptor: ()Lio/netty/buffer/ByteBufAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.allocator:Lio/netty/buffer/ByteBufAllocator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator);
descriptor: (Lio/netty/buffer/ByteBufAllocator;)Lio/netty/channel/ChannelConfig;
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 "allocator"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.channel.DefaultChannelConfig.allocator:Lio/netty/buffer/ByteBufAllocator;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/DefaultChannelConfig;
0 4 1 allocator Lio/netty/buffer/ByteBufAllocator;
MethodParameters:
Name Flags
allocator
public <T extends io.netty.channel.RecvByteBufAllocator> T getRecvByteBufAllocator();
descriptor: ()Lio/netty/channel/RecvByteBufAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.rcvBufAllocator:Lio/netty/channel/RecvByteBufAllocator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
Signature: <T::Lio/netty/channel/RecvByteBufAllocator;>()TT;
public io.netty.channel.ChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator);
descriptor: (Lio/netty/channel/RecvByteBufAllocator;)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "allocator"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.channel.RecvByteBufAllocator
putfield io.netty.channel.DefaultChannelConfig.rcvBufAllocator:Lio/netty/channel/RecvByteBufAllocator;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/DefaultChannelConfig;
0 2 1 allocator Lio/netty/channel/RecvByteBufAllocator;
MethodParameters:
Name Flags
allocator
private void setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator, io.netty.channel.ChannelMetadata);
descriptor: (Lio/netty/channel/RecvByteBufAllocator;Lio/netty/channel/ChannelMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof io.netty.channel.MaxMessagesRecvByteBufAllocator
ifeq 3
1: aload 1
checkcast io.netty.channel.MaxMessagesRecvByteBufAllocator
aload 2
invokevirtual io.netty.channel.ChannelMetadata.defaultMaxMessagesPerRead:()I
invokeinterface io.netty.channel.MaxMessagesRecvByteBufAllocator.maxMessagesPerRead:(I)Lio/netty/channel/MaxMessagesRecvByteBufAllocator;
pop
2: goto 5
StackMap locals:
StackMap stack:
3: aload 1
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "allocator"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.netty.channel.DefaultChannelConfig.setRecvByteBufAllocator:(Lio/netty/channel/RecvByteBufAllocator;)Lio/netty/channel/ChannelConfig;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/channel/DefaultChannelConfig;
0 7 1 allocator Lio/netty/channel/RecvByteBufAllocator;
0 7 2 metadata Lio/netty/channel/ChannelMetadata;
MethodParameters:
Name Flags
allocator
metadata
public boolean isAutoRead();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.autoRead:I
iconst_1
if_icmpne 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 Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setAutoRead(boolean);
descriptor: (Z)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.netty.channel.DefaultChannelConfig.AUTOREAD_UPDATER:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 1
ifeq 1
iconst_1
goto 2
StackMap locals: io.netty.channel.DefaultChannelConfig int
StackMap stack: java.util.concurrent.atomic.AtomicIntegerFieldUpdater io.netty.channel.DefaultChannelConfig
1: iconst_0
StackMap locals: io.netty.channel.DefaultChannelConfig int
StackMap stack: java.util.concurrent.atomic.AtomicIntegerFieldUpdater io.netty.channel.DefaultChannelConfig int
2: invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndSet:(Ljava/lang/Object;I)I
iconst_1
if_icmpne 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: iload 1
ifeq 8
iload 2
ifne 8
6: aload 0
getfield io.netty.channel.DefaultChannelConfig.channel:Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.read:()Lio/netty/channel/Channel;
pop
7: goto 10
StackMap locals: int
StackMap stack:
8: iload 1
ifne 10
iload 2
ifeq 10
9: aload 0
invokevirtual io.netty.channel.DefaultChannelConfig.autoReadCleared:()V
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/channel/DefaultChannelConfig;
0 11 1 autoRead Z
5 11 2 oldAutoRead Z
MethodParameters:
Name Flags
autoRead
protected void autoReadCleared();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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/channel/DefaultChannelConfig;
public boolean isAutoClose();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.autoClose:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setAutoClose(boolean);
descriptor: (Z)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.netty.channel.DefaultChannelConfig.autoClose:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/DefaultChannelConfig;
0 2 1 autoClose Z
MethodParameters:
Name Flags
autoClose
public int getWriteBufferHighWaterMark();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
invokevirtual io.netty.channel.WriteBufferWaterMark.high:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setWriteBufferHighWaterMark(int);
descriptor: (I)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifge 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "writeBufferHighWaterMark must be >= 0"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
astore 2
start local 2 5: iload 1
aload 2
invokevirtual io.netty.channel.WriteBufferWaterMark.low:()I
if_icmpge 12
6: new java.lang.IllegalArgumentException
dup
7: new java.lang.StringBuilder
dup
ldc "writeBufferHighWaterMark cannot be less than writeBufferLowWaterMark ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 2
invokevirtual io.netty.channel.WriteBufferWaterMark.low:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: io.netty.channel.WriteBufferWaterMark
StackMap stack:
getstatic io.netty.channel.DefaultChannelConfig.WATERMARK_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
13: new io.netty.channel.WriteBufferWaterMark
dup
aload 2
invokevirtual io.netty.channel.WriteBufferWaterMark.low:()I
iload 1
iconst_0
invokespecial io.netty.channel.WriteBufferWaterMark.<init>:(IIZ)V
14: invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
15: ifeq 4
16: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/channel/DefaultChannelConfig;
0 17 1 writeBufferHighWaterMark I
5 17 2 waterMark Lio/netty/channel/WriteBufferWaterMark;
MethodParameters:
Name Flags
writeBufferHighWaterMark
public int getWriteBufferLowWaterMark();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
invokevirtual io.netty.channel.WriteBufferWaterMark.low:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setWriteBufferLowWaterMark(int);
descriptor: (I)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifge 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "writeBufferLowWaterMark must be >= 0"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
astore 2
start local 2 5: iload 1
aload 2
invokevirtual io.netty.channel.WriteBufferWaterMark.high:()I
if_icmple 12
6: new java.lang.IllegalArgumentException
dup
7: new java.lang.StringBuilder
dup
ldc "writeBufferLowWaterMark cannot be greater than writeBufferHighWaterMark ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 2
invokevirtual io.netty.channel.WriteBufferWaterMark.high:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: io.netty.channel.WriteBufferWaterMark
StackMap stack:
getstatic io.netty.channel.DefaultChannelConfig.WATERMARK_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
13: new io.netty.channel.WriteBufferWaterMark
dup
iload 1
aload 2
invokevirtual io.netty.channel.WriteBufferWaterMark.high:()I
iconst_0
invokespecial io.netty.channel.WriteBufferWaterMark.<init>:(IIZ)V
14: invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
15: ifeq 4
16: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/channel/DefaultChannelConfig;
0 17 1 writeBufferLowWaterMark I
5 17 2 waterMark Lio/netty/channel/WriteBufferWaterMark;
MethodParameters:
Name Flags
writeBufferLowWaterMark
public io.netty.channel.ChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark);
descriptor: (Lio/netty/channel/WriteBufferWaterMark;)Lio/netty/channel/ChannelConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "writeBufferWaterMark"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.channel.WriteBufferWaterMark
putfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/DefaultChannelConfig;
0 2 1 writeBufferWaterMark Lio/netty/channel/WriteBufferWaterMark;
MethodParameters:
Name Flags
writeBufferWaterMark
public io.netty.channel.WriteBufferWaterMark getWriteBufferWaterMark();
descriptor: ()Lio/netty/channel/WriteBufferWaterMark;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.writeBufferWaterMark:Lio/netty/channel/WriteBufferWaterMark;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.MessageSizeEstimator getMessageSizeEstimator();
descriptor: ()Lio/netty/channel/MessageSizeEstimator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.msgSizeEstimator:Lio/netty/channel/MessageSizeEstimator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
public io.netty.channel.ChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator);
descriptor: (Lio/netty/channel/MessageSizeEstimator;)Lio/netty/channel/ChannelConfig;
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 "estimator"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.channel.DefaultChannelConfig.msgSizeEstimator:Lio/netty/channel/MessageSizeEstimator;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/DefaultChannelConfig;
0 4 1 estimator Lio/netty/channel/MessageSizeEstimator;
MethodParameters:
Name Flags
estimator
private io.netty.channel.ChannelConfig setPinEventExecutorPerGroup(boolean);
descriptor: (Z)Lio/netty/channel/ChannelConfig;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.netty.channel.DefaultChannelConfig.pinEventExecutor:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/DefaultChannelConfig;
0 2 1 pinEventExecutor Z
MethodParameters:
Name Flags
pinEventExecutor
private boolean getPinEventExecutorPerGroup();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelConfig.pinEventExecutor:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelConfig;
}
SourceFile: "DefaultChannelConfig.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map