com.groupbyinc.flux.common.netty.buffer.PoolChunkList.class Maven / Gradle / Ivy
???? 2 ? 5com/groupbyinc/flux/common/netty/buffer/PoolChunkList eLjava/lang/Object;Lcom/groupbyinc/flux/common/netty/buffer/PoolChunkListMetric; java/lang/Object ;com/groupbyinc/flux/common/netty/buffer/PoolChunkListMetric PoolChunkList.java
EMPTY_METRICS Ljava/util/Iterator; OLjava/util/Iterator; arena 3Lcom/groupbyinc/flux/common/netty/buffer/PoolArena; 8Lcom/groupbyinc/flux/common/netty/buffer/PoolArena; nextList 7Lcom/groupbyinc/flux/common/netty/buffer/PoolChunkList; ; minUsage I maxUsage maxCapacity head 3Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk; 8Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk; prevList $assertionsDisabled Z p(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;Lcom/groupbyinc/flux/common/netty/buffer/PoolChunkList;III)V ()V
! java/lang/AssertionError #
$ 1com/groupbyinc/flux/common/netty/buffer/PoolArena &
( * , . calculateMaxCapacity (II)I 0 1
2 4 this chunkSize minUsage0 (I)I 8 9
: d :(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunkList;)V ? allocate <(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;II)Z C 1com/groupbyinc/flux/common/netty/buffer/PoolChunk E (I)J A G
F H next J F K initBuf <(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;JI)V M N
F O usage ()I Q R
F S remove 6(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;)V U V
W add Y V
Z handle J cur buf ; 7Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf; reqCapacity normCapacity free 7(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;J)Z (J)V d f
F g move0 6(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;)Z i j
k chunk move add0 o V
p n j
r parent t F u prev w F x java/lang/Math z min | 1
{ } max 1
{ ? value iterator ()Ljava/util/Iterator;
? java/util/ArrayList ?
? java/util/List ? (Ljava/lang/Object;)Z Y ? ? ? ? ? ? ? java/lang/Throwable ? metrics KLjava/util/List; Ljava/util/List; toString ()Ljava/lang/String; java/lang/StringBuilder ?
? none ? append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? 9com/groupbyinc/flux/common/netty/util/internal/StringUtil ? NEWLINE Ljava/lang/String; ? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ? ?
? ? Ljava/lang/StringBuilder; destroy 6(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;)V destroyChunk ? V
' ? java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? java/util/Collections ? emptyList ()Ljava/util/List; ? ?
? ? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable z(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;Lcom/groupbyinc/flux/common/netty/buffer/PoolChunkList;III)V ?(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunkList;)V A(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;II)Z <(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;J)Z ;(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;)Z ;(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;)V Q()Ljava/util/Iterator; ;(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;)V
SourceFile 0
?
? ? ? ? ? ? 8*? ? "? ? ? $Y? %?*+? )*,? +*? -*? /*? 3? 5? ? > 8 6 8
8 8 8 8 7 ? 8 6 8 8 ? " + , - . " / ' 0 - 1 7 2 ? ? ' ? ?
0 1 ? e ? ;;d? ?? <?ei