All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.netty.buffer.PooledByteBufAllocator.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????2>com/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator@com/groupbyinc/flux/common/netty/buffer/AbstractByteBufAllocatorFcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocatorMetricProviderPooledByteBufAllocator.javaScom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCachePoolThreadLocalCache;com/groupbyinc/flux/common/netty/buffer/PoolArena$HeapArena1com/groupbyinc/flux/common/netty/buffer/PoolArena
	HeapArena=com/groupbyinc/flux/common/netty/buffer/PoolArena$DirectArenaDirectArenaloggerGLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;DEFAULT_NUM_HEAP_ARENAIDEFAULT_NUM_DIRECT_ARENADEFAULT_PAGE_SIZEDEFAULT_MAX_ORDERDEFAULT_TINY_CACHE_SIZEDEFAULT_SMALL_CACHE_SIZEDEFAULT_NORMAL_CACHE_SIZE"DEFAULT_MAX_CACHED_BUFFER_CAPACITYDEFAULT_CACHE_TRIM_INTERVAL!DEFAULT_USE_CACHE_FOR_ALL_THREADSZ%DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT
MIN_PAGE_SIZEMAX_CHUNK_SIZE@DEFAULT@Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;
heapArenas4[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;8[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<[B>;directArenasK[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;
tinyCacheSizesmallCacheSizenormalCacheSizeheapArenaMetricsLjava/util/List;KLjava/util/List;directArenaMetricsthreadCacheULcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCache;	chunkSizemetricFLcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocatorMetric;()V(Z)V9;
<this	?	A	C	E(ZIIII)V9G
HpreferDirect(IIII)V
nHeapArenanDirectArenapageSizemaxOrderLjava/lang/Deprecated;	Q	S	U(ZIIIIIII)V9W
X 	Z!	\
(ZIIIIIIIZI)V9^
_(ZIIIIIIIZ)VuseCacheForAllThreads
<D(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;Z)V9d
	e45	g-	i.	k/	mvalidateAndCalculateChunkSize(II)Iop
q6	s"java/lang/IllegalArgumentExceptionujava/lang/StringBuilderw9:
xynHeapArena: {append-(Ljava/lang/String;)Ljava/lang/StringBuilder;}~
x(I)Ljava/lang/StringBuilder;}?
x? (expected: >= 0)?toString()Ljava/lang/String;??
x?(Ljava/lang/String;)V9?
v?
nDirectArea: ?directMemoryCacheAlignment: ?%isDirectMemoryCacheAlignmentSupported()Z??
?+directMemoryCacheAlignment is not supported? (expected: power of two)?validateAndCalculatePageShifts(I)I??
?
newArenaArray7(I)[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;??
?()	?java/util/ArrayList?(I)V9?
??java/util/List?H(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;IIIII)V9?
?add(Ljava/lang/Object;)Z????java/util/Collections?unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
??01	?	emptyList()Ljava/util/List;??
??+)	?
?31	?Dcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocatorMetric?C(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;)V9?
??78	?arena=Lcom/groupbyinc/flux/common/netty/buffer/PoolArena$HeapArena;imetrics?Lcom/groupbyinc/flux/common/netty/buffer/PoolArena$DirectArena;directMemoryCacheAlignment
pageShiftssize
pageSize: ? (expected: ?)? (expected: power of 2)?java/lang/Integer?numberOfLeadingZeros??
??
maxOrder: ? (expected: 0-14)? 1pageSize (%d) << maxOrder (%d) must not exceed %d?java/lang/Object?valueOf(I)Ljava/lang/Integer;??
??java/lang/String?format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??
newHeapBuffer5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;get()Ljava/lang/Object;??
	?7com/groupbyinc/flux/common/netty/buffer/PoolThreadCache?	heapArena3Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;??	??allocatet(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache;II)Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;??
?@com/groupbyinc/flux/common/netty/util/internal/PlatformDependent	hasUnsafe?
Acom/groupbyinc/flux/common/netty/buffer/UnpooledUnsafeHeapByteBuf?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;II)V9
	;com/groupbyinc/flux/common/netty/buffer/UnpooledHeapByteBuf
	/com/groupbyinc/flux/common/netty/buffer/ByteBuftoLeakAwareBufferd(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
buf1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;initialCapacitymaxCapacitycache9Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache;7Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<[B>;newDirectBufferdirectArena?	?9com/groupbyinc/flux/common/netty/buffer/UnsafeByteBufUtilnewUnsafeDirectByteBuf?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;II)Lcom/groupbyinc/flux/common/netty/buffer/UnpooledUnsafeDirectByteBuf;!"
 #=com/groupbyinc/flux/common/netty/buffer/UnpooledDirectByteBuf%
&	Gcom/groupbyinc/flux/common/netty/buffer/AbstractReferenceCountedByteBuf(JLcom/groupbyinc/flux/common/netty/buffer/PoolArena;defaultNumHeapArena()IdefaultNumDirectArenadefaultPageSizedefaultMaxOrderdefaultUseCacheForAllThreadsdefaultPreferDirectdirectBufferPreferred2?
3defaultTinyCacheSizedefaultSmallCacheSizedefaultNormalCacheSizeisDirectBufferPooledhasThreadLocalCacheisSet:?
	;freeThreadLocalCacheremove>:
	?H()Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocatorMetric;
numHeapArenas?,?CnumDirectArenasnumThreadLocalCaches)numThreadCaches+Ljava/util/concurrent/atomic/AtomicInteger;HI	J)java/util/concurrent/atomic/AtomicIntegerL?,
MN6Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;arenas7[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;totalusedHeapMemory()J
usedMemory7([Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;)JVW
XusedDirectMemory????????numActiveBytes]U
^???????usedJ;()Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache;	dumpStats
x? heap arena(s):g9com/groupbyinc/flux/common/netty/util/internal/StringUtiliNEWLINELjava/lang/String;kl	jm-(Ljava/lang/Object;)Ljava/lang/StringBuilder;}o
xp direct arena(s):ra
heapArenasLenLjava/lang/StringBuilder;directArenasLenB()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocatorMetric;7A
y
access$000v(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;)[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;x0
access$100
access$200C(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;)I
access$300
access$400
access$500	?
access$600	?java/lang/Throwable?Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory?getInstanceZ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;??
??	?3com.groupbyinc.flux.common.netty.allocator.pageSize?Acom/groupbyinc/flux/common/netty/util/internal/SystemPropertyUtil?getInt(Ljava/lang/String;I)I??
??3com.groupbyinc.flux.common.netty.allocator.maxOrder?java/lang/Runtime?
getRuntime()Ljava/lang/Runtime;??
??2com/groupbyinc/flux/common/netty/util/NettyRuntime?availableProcessors?,
??8com.groupbyinc.flux.common.netty.allocator.numHeapArenas?	maxMemory?U
??java/lang/Math?min(JJ)J??
??max?p
??:com.groupbyinc.flux.common.netty.allocator.numDirectArenas?maxDirectMemory?U
?8com.groupbyinc.flux.common.netty.allocator.tinyCacheSize?9com.groupbyinc.flux.common.netty.allocator.smallCacheSize?:com.groupbyinc.flux.common.netty.allocator.normalCacheSize?Bcom.groupbyinc.flux.common.netty.allocator.maxCachedBufferCapacity??(I)[Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;M()Ljava/util/List;:([Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;)J
SourceFileInnerClasses! !"#$%&'()*+),-./0123124567819:4*?=?>'
??9;J*?@?B?D?F?I?>'J 
??9Ka*?I?4>'LMNO
?
?9Gu	*?R?T?V?Y?>>'J LMNO
??	
P9W?	*?[?]?`?\	>'J LMNO-./
??	
P9a?
*	?]?`?f
>'J LMNO-./b 	
??9^??*?c*?	Y*	?f?h*?j*?l*?n*?r?t?#?vY?xY?z|?????????????#?vY?xY?z?????????????
?$?vY?xY?z???
??????????
????
?vY????

t~
?$?vY?xY?z???
????????????6?a*??????Y*?????:6

*????2?Y**?t
??:*??
S??W?
???*?????*??*?????a*??????Y*?????:6

*????2?Y**?t
??:*??
S??W?
???*?????*??*????*??Y*?Ƶȱ?#??9?
E?1???q9?
nE?1?>'?J ?L?M?N?O?-?.?/?b 	??
???E?2nE?2?+?????%?0?4?T?X?x?}??????????????????
?#?,?6?<?E?H?M?T?X?`?n?{?????????????7
?T#%+?#??8????8?
??/???

???b?.?vY?xY?zҶ???Զ???ֶ??????d~?#?vY?xY?zҶ???ض????????d?bN2:Z2'
op?g?#?vY?xY?z߶??????????=>?:?*?vY???Y??SY??SY%??S????x=??????**;?gNgO(?6.&!(".#4$A%T$['_"e)&?0?	???H*?h????N-??:?-?:?"???Y*?
?
?Y*?
:??H H>'HH=7??B7?./23#5B:?#?I???D*?h????N-?:?-?:???*?$?
?&Y*?':??H D>'DD93?>3*?@CD#F,G>K?#?I)?	+,?@?R	-,?B?Y	.,?D?`	/,?F?g	0??[?n	1??4?u	5,?R?|	6,?T??	7,?V??	?????8?B
*?????
>'?@9?2*?h?'?	
P=:6*?h?@?>'
??	
P7A/*?Ȱ>'?B,4
*???D?
>'?	
PE,4
*???D?
>'?	
P(?/*???>'?	
P+?/*???>'?	
PF,?D*???
*???*??L+??=+N-?66?-2:?K?O`=?????*1??D>'1Q))S1?P1QR"	
1<B#CG?G?
GG?	
P-,/*?j?>'	
P.,/*?l?>''	
P/,/*?n?>'1	
P6,/*?t?>';	
PTU2*???Y?>'?ZU2*???Y?>'C?VW?:*?[?	@*N-?66?!-2:?_a@	??`??????  ??:Q)
0bc ?P:QR&	GHJ
K L(M.N2K8Q?
GG?4d5*?h?????>'Ue???*????*???,??s???n??W?,*??:?66?2:,?qW????,???>It??t??>'?u,vgDwIt?t*J]^_"`(a,b0cIdPcVhgjokulym}n?o?n?s5D?+xG?
D?$xG?A7x/*?z?>'!{|/*???}'!~|/*???}'!?/*?j?}'!??/*?l?}'!??/*?n?}'!?,???!?,???!?:??????? ??;L??W?
M,L ;?D???=N?D?rW?:N=?F??:??h6?D?Fx6?????m?m?m????????@?????m?m?m????????B????R????T?@???V?ȸ???? ??????г[????]????????ٲ@?????߲B???+????D???????D??+??-????F???????F??-?????D?Fx??????R??????T??????V?????????????????????[?????Y?4?=????2:=?\	??????.???0?/2???N?U?^??8#568<9:;#='?0@2B:F=C?DBEEGIKNTUU^Vg[vYzW}V?\?a?_?]?\?d?e?f?j?n?q?t?wxy"z&{:}LP?d?v???????????????????6	???????????z	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy