io.netty.channel.PendingWriteQueue.class Maven / Gradle / Ivy
???? 2
"io/netty/channel/PendingWriteQueue java/lang/Object PendingWriteQueue.java $io/netty/channel/PendingWriteQueue$1 /io/netty/channel/PendingWriteQueue$PendingWrite PendingWrite ,io/netty/channel/MessageSizeEstimator$Handle %io/netty/channel/MessageSizeEstimator
Handle io/netty/channel/Channel$Unsafe io/netty/channel/Channel Unsafe logger /Lio/netty/util/internal/logging/InternalLogger; PENDING_WRITE_OVERHEAD I ctx (Lio/netty/channel/ChannelHandlerContext; buffer (Lio/netty/channel/ChannelOutboundBuffer; estimatorHandle .Lio/netty/channel/MessageSizeEstimator$Handle; head 1Lio/netty/channel/PendingWriteQueue$PendingWrite; tail size bytes J $assertionsDisabled Z +(Lio/netty/channel/ChannelHandlerContext;)V ()V ' )
* java/lang/NullPointerException , (Ljava/lang/String;)V ' /
- 0 &io/netty/channel/ChannelHandlerContext 2 4 channel ()Lio/netty/channel/Channel; 6 7 3 8 unsafe #()Lio/netty/channel/Channel$Unsafe; : ; < outboundBuffer *()Lio/netty/channel/ChannelOutboundBuffer; > ? @ B config "()Lio/netty/channel/ChannelConfig; D E F io/netty/channel/ChannelConfig H getMessageSizeEstimator )()Lio/netty/channel/MessageSizeEstimator; J K I L newHandle 0()Lio/netty/channel/MessageSizeEstimator$Handle; N O P R this $Lio/netty/channel/PendingWriteQueue; isEmpty ()Z % & X executor *()Lio/netty/util/concurrent/EventExecutor; Z [ 3 \ &io/netty/util/concurrent/EventExecutor ^ inEventLoop ` W _ a java/lang/AssertionError c
d * f ()I " i ()J # $ l (Ljava/lang/Object;)I " n o q msg Ljava/lang/Object; messageSize add 6(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V s promise y
o newInstance g(Ljava/lang/Object;ILio/netty/channel/ChannelPromise;)Lio/netty/channel/PendingWriteQueue$PendingWrite; | }
~ ! ?
access$002 ?(Lio/netty/channel/PendingWriteQueue$PendingWrite;Lio/netty/channel/PendingWriteQueue$PendingWrite;)Lio/netty/channel/PendingWriteQueue$PendingWrite; ? ?
?
access$100 4(Lio/netty/channel/PendingWriteQueue$PendingWrite;)J ? ?
? &io/netty/channel/ChannelOutboundBuffer ? incrementPendingOutboundBytes (J)V ? ?
? ? !Lio/netty/channel/ChannelPromise; write currentTail removeAndWriteAll "()Lio/netty/channel/ChannelFuture; java/lang/Throwable ? V W
?
newPromise #()Lio/netty/channel/ChannelPromise; ? ? 3 ? (io/netty/util/concurrent/PromiseCombiner ?
? * io/netty/channel/ChannelPromise ?
access$000 d(Lio/netty/channel/PendingWriteQueue$PendingWrite;)Lio/netty/channel/PendingWriteQueue$PendingWrite; ? ?
?
access$200 E(Lio/netty/channel/PendingWriteQueue$PendingWrite;)Ljava/lang/Object; ? ?
?
access$300 T(Lio/netty/channel/PendingWriteQueue$PendingWrite;)Lio/netty/channel/ChannelPromise; ? ?
? recycle 5(Lio/netty/channel/PendingWriteQueue$PendingWrite;Z)V ? ?
? %(Lio/netty/util/concurrent/Promise;)V v ?
? ? U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ? 3 ? finish ? ?
? ?
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; ? ? ? ? assertEmpty ? )
? next cause Ljava/lang/Throwable; p combiner *Lio/netty/util/concurrent/PromiseCombiner; removeAndFailAll (Ljava/lang/Throwable;)V ? io/netty/util/ReferenceCountUtil ? safeRelease (Ljava/lang/Object;)V ? ?
? ? safeFail 9(Lio/netty/channel/ChannelPromise;Ljava/lang/Throwable;)V ? ?
?
removeAndFail removeAndWrite remove current ()Ljava/lang/Object;
access$400 4(Lio/netty/channel/PendingWriteQueue$PendingWrite;)V ? ?
? decrementPendingOutboundBytes ? ?
? ? update writeSize #io/netty/channel/VoidChannelPromise ?
tryFailure (Ljava/lang/Throwable;)Z ? ? ? ? ? AFailed to mark a promise as failure because it's done already: {} ? -io/netty/util/internal/logging/InternalLogger ? warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? java/lang/Class ? desiredAssertionStatus ? W
? ? 4io/netty/util/internal/logging/InternalLoggerFactory ? getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; ? ?
? ? +io.netty.transport.pendingWriteSizeOverhead ? )io/netty/util/internal/SystemPropertyUtil getInt (Ljava/lang/String;I)I
Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 1
! " # $ % &