![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.channel.ChannelOutboundBuffer.class Maven / Gradle / Ivy
The newest version!
???? 2!
?: ~;
~<
?= ~> ~? ?@ ~A ?B
~C ~D ?EFG
?H
~I ~J
KLMNOP
~QOR
~ST
UV WX Y???????? ?Z ?[ ~\]
":^ ?_ $`
~a
~b ?c
de
~f
?g
~h
~i
~j
k
l
~m
~n
o ~p ~q
rst
uvw??? ???
~x
yz
r{ ?
~| ?}
~
?
~?
r? ??
?
~? ~? ??
?
Q??
O:?
?? ~?
~?
~?
~? ~?
??
~???
[:?
[?
[??
[?
Z?M? ~??
e?M????? ~??
k?M??
O?
~??
??
~?? ~?
??
?? ~?
~??1
z? ???
???
?? ~?
???
?: ?
K? ?
???? Entry InnerClasses? MessageProcessor &CHANNEL_OUTBOUND_BUFFER_ENTRY_OVERHEAD I logger /Lio/netty/util/internal/logging/InternalLogger; NIO_BUFFERS *Lio/netty/util/concurrent/FastThreadLocal; Signature BLio/netty/util/concurrent/FastThreadLocal<[Ljava/nio/ByteBuffer;>; channel Lio/netty/channel/Channel; flushedEntry .Lio/netty/channel/ChannelOutboundBuffer$Entry; unflushedEntry tailEntry flushed nioBufferCount
nioBufferSize J inFail Z TOTAL_PENDING_SIZE_UPDATER 4Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; ^Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; totalPendingSize UNWRITABLE_UPDATER 7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; aLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
unwritable !fireChannelWritabilityChangedTask Ljava/lang/Runnable; $assertionsDisabled %(Lio/netty/channel/AbstractChannel;)V Code LineNumberTable LocalVariableTable this (Lio/netty/channel/ChannelOutboundBuffer; "Lio/netty/channel/AbstractChannel;
addMessage 7(Ljava/lang/Object;ILio/netty/channel/ChannelPromise;)V tail msg Ljava/lang/Object; size promise !Lio/netty/channel/ChannelPromise; entry
StackMapTable? addFlush ()V pending incrementPendingOutboundBytes (J)V (JZ)V invokeLater newWriteBufferSize decrementPendingOutboundBytes (JZZ)V notifyWritability total (Ljava/lang/Object;)J current ()Ljava/lang/Object; currentProgress ()J progress amount e p? remove ()Z? (Ljava/lang/Throwable;)Z cause Ljava/lang/Throwable; remove0 (Ljava/lang/Throwable;Z)Z removeEntry 1(Lio/netty/channel/ChannelOutboundBuffer$Entry;)V removeBytes buf Lio/netty/buffer/ByteBuf; readerIndex
readableBytes writtenBytesT? clearNioBuffers count
nioBuffers ()[Ljava/nio/ByteBuffer; (IJ)[Ljava/nio/ByteBuffer; nioBuf Ljava/nio/ByteBuffer; neededSpace maxCount maxBytes threadLocalMap /Lio/netty/util/internal/InternalThreadLocalMap; [Ljava/nio/ByteBuffer;?? b(Lio/netty/channel/ChannelOutboundBuffer$Entry;Lio/netty/buffer/ByteBuf;[Ljava/nio/ByteBuffer;II)I i nioBufs expandNioBufferArray 0([Ljava/nio/ByteBuffer;II)[Ljava/nio/ByteBuffer; array newCapacity newArray ()I
isWritable getUserDefinedWritability (I)Z index setUserDefinedWritability (IZ)V writable (I)V oldValue newValue mask clearUserDefinedWritability writabilityMask (I)I setWritable (Z)V
setUnwritable fireChannelWritabilityChanged task pipeline "Lio/netty/channel/ChannelPipeline;?? isEmpty failFlushed (Ljava/lang/Throwable;Z)V notify? close allowChannelOpen -(Ljava/nio/channels/ClosedChannelException;)V *Ljava/nio/channels/ClosedChannelException; safeSuccess $(Lio/netty/channel/ChannelPromise;)V? safeFail 9(Lio/netty/channel/ChannelPromise;Ljava/lang/Throwable;)V recycle
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; totalPendingWriteBytes bytesBeforeUnwritable bytes bytesBeforeWritable forEachFlushedMessage <(Lio/netty/channel/ChannelOutboundBuffer$MessageProcessor;)V processor 9Lio/netty/channel/ChannelOutboundBuffer$MessageProcessor;
Exceptions? isFlushedEntry 1(Lio/netty/channel/ChannelOutboundBuffer$Entry;)Z
SourceFile ChannelOutboundBuffer.java ? ? ? ? ? ??? ? ? ? ?? ? ? ?? ? ? ? ? ? ? ??? ?? ? ? ? ?????????? io/netty/buffer/ByteBuf ? io/netty/channel/FileRegion ? ? io/netty/buffer/ByteBufHolder?? ? ? ? ? ? ? java/lang/AssertionError *io/netty/channel/ChannelProgressivePromise ? ??? ? ? ? ?? ????"#' ? ? ?%& ? ? ?? ? ? ? ? ?? ? ? ? ??? ? [Ljava/lang/Object;??? java/lang/Integer ? ??????56 ? ? ???? ? ??? ? ??? ? ? ? ?? ? ? ?? ? java/lang/IllegalStateException java/nio/ByteBuffer??? ? ?
? ???? "java/lang/IllegalArgumentException java/lang/StringBuilder index: ??? (expected: 1~31) ? ? ? (io/netty/channel/ChannelOutboundBuffer$2 ?
? ? ? (io/netty/channel/ChannelOutboundBuffer$3 ? ? 4close() must be invoked after the channel is closed. ? =close() must be invoked after all flushed writes are handled.
#io/netty/channel/VoidChannelPromise ? ? ? ? ? java/lang/NullPointerException &io/netty/channel/ChannelOutboundBuffer ? 2io.netty.transport.outboundBufferEntrySizeOverhead ? ? (io/netty/channel/ChannelOutboundBuffer$1 java/lang/Object ,io/netty/channel/ChannelOutboundBuffer$Entry 7io/netty/channel/ChannelOutboundBuffer$MessageProcessor io/netty/channel/ChannelPromise -io/netty/util/internal/InternalThreadLocalMap io/netty/channel/ChannelPipeline java/lang/Runnable java/lang/Throwable -io/netty/util/internal/logging/InternalLogger java/lang/Exception newInstance e(Ljava/lang/Object;IJLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelOutboundBuffer$Entry; next pendingSize setUncancellable cancel 2java/util/concurrent/atomic/AtomicLongFieldUpdater addAndGet (Ljava/lang/Object;J)J io/netty/channel/Channel config "()Lio/netty/channel/ChannelConfig; io/netty/channel/ChannelConfig getWriteBufferHighWaterMark getWriteBufferLowWaterMark content ()Lio/netty/buffer/ByteBuf; tryProgress (JJ)Z cancelled io/netty/util/ReferenceCountUtil safeRelease (Ljava/lang/Object;)V writerIndex (I)Lio/netty/buffer/ByteBuf; (io/netty/util/concurrent/FastThreadLocal get java/util/Arrays fill *([Ljava/lang/Object;IILjava/lang/Object;)V 1()Lio/netty/util/internal/InternalThreadLocalMap; C(Lio/netty/util/internal/InternalThreadLocalMap;)Ljava/lang/Object; java/lang/Math min (II)I set D(Lio/netty/util/internal/InternalThreadLocalMap;Ljava/lang/Object;)V internalNioBuffer (II)Ljava/nio/ByteBuffer; bufs hasRemaining java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V 5java/util/concurrent/atomic/AtomicIntegerFieldUpdater
compareAndSet (Ljava/lang/Object;II)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V $()Lio/netty/channel/ChannelPipeline; M(Lio/netty/channel/ChannelOutboundBuffer;Lio/netty/channel/ChannelPipeline;)V eventLoop ()Lio/netty/channel/EventLoop; io/netty/channel/EventLoop execute (Ljava/lang/Runnable;)V A(Lio/netty/channel/ChannelOutboundBuffer;Ljava/lang/Throwable;Z)V isOpen recycleAndGetNext 0()Lio/netty/channel/ChannelOutboundBuffer$Entry; .io/netty/util/internal/PromiseNotificationUtil
trySuccess f(Lio/netty/util/concurrent/Promise;Ljava/lang/Object;Lio/netty/util/internal/logging/InternalLogger;)V
tryFailure i(Lio/netty/util/concurrent/Promise;Ljava/lang/Throwable;Lio/netty/util/internal/logging/InternalLogger;)V processMessage (Ljava/lang/Object;)Z java/lang/Class desiredAssertionStatus )io/netty/util/internal/SystemPropertyUtil getInt (Ljava/lang/String;I)I 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
newUpdater Y(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; \(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; 1 ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? B ? ? B ? ? ? ? . ? ? ? F
*? *+? ? ? h i j ?
? ?
? ? ? ? ? ? G++? -? :*? ? *? ? *? :? *? *? ? *? *? ??
? ? *
q r s u ! v ( x . y 5 z ; F ? ? > ! ? ? G ? ? G ? ? G ? ? G ? ? ; ? ? ?
? ? ? ? ? ? G*? L+? @*? ? *+? *Y? `? +? ?
? +? =*?? +? L+???*? ? ? 2 ? ? ? ? ? ? + ? 0 ? 8 ? = ? A ? F ? ? 0 ? ? G ? ? B ? ? ?
? ?"
? ? ? ? *?
? ?
? ? ? ? ? ? ? ? ? ? ? , ?? ?? *? 7*? ? ? ??? *? ? ? ? ? ? ? &