abstract class io.netty.channel.PendingBytesTracker implements io.netty.channel.MessageSizeEstimator$Handle
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.channel.PendingBytesTracker
super_class: java.lang.Object
{
private final io.netty.channel.MessageSizeEstimator$Handle estimatorHandle;
descriptor: Lio/netty/channel/MessageSizeEstimator$Handle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(io.netty.channel.MessageSizeEstimator$Handle);
descriptor: (Lio/netty/channel/MessageSizeEstimator$Handle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "estimatorHandle"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.channel.MessageSizeEstimator$Handle
putfield io.netty.channel.PendingBytesTracker.estimatorHandle:Lio/netty/channel/MessageSizeEstimator$Handle;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/PendingBytesTracker;
0 3 1 estimatorHandle Lio/netty/channel/MessageSizeEstimator$Handle;
MethodParameters:
Name Flags
estimatorHandle
public final int size(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PendingBytesTracker.estimatorHandle:Lio/netty/channel/MessageSizeEstimator$Handle;
aload 1
invokeinterface io.netty.channel.MessageSizeEstimator$Handle.size:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PendingBytesTracker;
0 1 1 msg Ljava/lang/Object;
MethodParameters:
Name Flags
msg
public abstract void incrementPendingOutboundBytes(long);
descriptor: (J)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
bytes
public abstract void decrementPendingOutboundBytes(long);
descriptor: (J)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
bytes
static io.netty.channel.PendingBytesTracker newTracker(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)Lio/netty/channel/PendingBytesTracker;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
instanceof io.netty.channel.DefaultChannelPipeline
ifeq 2
1: new io.netty.channel.PendingBytesTracker$DefaultChannelPipelinePendingBytesTracker
dup
aload 0
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
checkcast io.netty.channel.DefaultChannelPipeline
invokespecial io.netty.channel.PendingBytesTracker$DefaultChannelPipelinePendingBytesTracker.<init>:(Lio/netty/channel/DefaultChannelPipeline;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.netty.channel.Channel.unsafe:()Lio/netty/channel/Channel$Unsafe;
invokeinterface io.netty.channel.Channel$Unsafe.outboundBuffer:()Lio/netty/channel/ChannelOutboundBuffer;
astore 1
start local 1 3: aload 0
invokeinterface io.netty.channel.Channel.config:()Lio/netty/channel/ChannelConfig;
invokeinterface io.netty.channel.ChannelConfig.getMessageSizeEstimator:()Lio/netty/channel/MessageSizeEstimator;
invokeinterface io.netty.channel.MessageSizeEstimator.newHandle:()Lio/netty/channel/MessageSizeEstimator$Handle;
astore 2
start local 2 4: aload 1
ifnonnull 6
5: new io.netty.channel.PendingBytesTracker$NoopPendingBytesTracker
dup
aload 2
invokespecial io.netty.channel.PendingBytesTracker$NoopPendingBytesTracker.<init>:(Lio/netty/channel/MessageSizeEstimator$Handle;)V
goto 7
StackMap locals: io.netty.channel.ChannelOutboundBuffer io.netty.channel.MessageSizeEstimator$Handle
StackMap stack:
6: new io.netty.channel.PendingBytesTracker$ChannelOutboundBufferPendingBytesTracker
dup
aload 1
aload 2
invokespecial io.netty.channel.PendingBytesTracker$ChannelOutboundBufferPendingBytesTracker.<init>:(Lio/netty/channel/ChannelOutboundBuffer;Lio/netty/channel/MessageSizeEstimator$Handle;)V
7: StackMap locals:
StackMap stack: io.netty.channel.PendingBytesTracker
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 channel Lio/netty/channel/Channel;
3 8 1 buffer Lio/netty/channel/ChannelOutboundBuffer;
4 8 2 handle Lio/netty/channel/MessageSizeEstimator$Handle;
MethodParameters:
Name Flags
channel
}
SourceFile: "PendingBytesTracker.java"
NestMembers:
io.netty.channel.PendingBytesTracker$ChannelOutboundBufferPendingBytesTracker io.netty.channel.PendingBytesTracker$DefaultChannelPipelinePendingBytesTracker io.netty.channel.PendingBytesTracker$NoopPendingBytesTracker
InnerClasses:
public abstract Unsafe = io.netty.channel.Channel$Unsafe of io.netty.channel.Channel
public abstract Handle = io.netty.channel.MessageSizeEstimator$Handle of io.netty.channel.MessageSizeEstimator
private final ChannelOutboundBufferPendingBytesTracker = io.netty.channel.PendingBytesTracker$ChannelOutboundBufferPendingBytesTracker of io.netty.channel.PendingBytesTracker
private final DefaultChannelPipelinePendingBytesTracker = io.netty.channel.PendingBytesTracker$DefaultChannelPipelinePendingBytesTracker of io.netty.channel.PendingBytesTracker
private final NoopPendingBytesTracker = io.netty.channel.PendingBytesTracker$NoopPendingBytesTracker of io.netty.channel.PendingBytesTracker