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

com.groupbyinc.flux.transport.netty4.Netty4Utils.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4Q0com/groupbyinc/flux/transport/netty4/Netty4Utilsjava/lang/ObjectNetty4Utils.java2com/groupbyinc/flux/transport/netty4/Netty4Utils$1%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles
LookupisAvailableProcessorsSet+Ljava/util/concurrent/atomic/AtomicBoolean;()V
this2Lcom/groupbyinc/flux/transport/netty4/Netty4Utils;setupsetAvailableProcessors(I)V)es.set.netty.runtime.available.processorstruejava/lang/SystemgetProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
 #com/groupbyinc/flux/common/Booleans"parseBoolean(Ljava/lang/String;)Z$%
#&
	()java/util/concurrent/atomic/AtomicBoolean*
compareAndSet(ZZ)Z,-
+.2com/groupbyinc/flux/common/netty/util/NettyRuntime0
12availableProcessors()I45
16java/util/Locale8ROOTLjava/util/Locale;:;	9<@available processors value [%d] did not match current value [%d]>java/lang/Integer@valueOf(I)Ljava/lang/Integer;BC
ADjava/lang/StringFformatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;HI
GJjava/lang/IllegalStateExceptionL(Ljava/lang/String;)VN
MOmessageLjava/lang/String;IsetZ	toByteBufd(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;java/io/IOExceptionX/com/groupbyinc/flux/common/bytes/BytesReferenceZlength\5
[]0com/groupbyinc/flux/common/netty/buffer/Unpooled_EMPTY_BUFFER1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;ab	`c:com/groupbyinc/flux/transport/netty4/ByteBufBytesReferencee3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;Vg
fhiteratorB()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefIterator;jk
[ljava/util/ArrayListn
op>com/groupbyinc/flux/common/apache/lucene/util/BytesRefIteratorrjava/util/Listtnext:()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;vwsx6com/groupbyinc/flux/common/apache/lucene/util/BytesRefzbytes[B|}	{~offset?S	{?\S	{?
wrappedBuffer7([BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
`?add(Ljava/lang/Object;)Z??u?size?5u?compositeBuffer=(I)Lcom/groupbyinc/flux/common/netty/buffer/CompositeByteBuf;??
`?8com/groupbyinc/flux/common/netty/buffer/CompositeByteBuf?
addComponentsQ(ZLjava/lang/Iterable;)Lcom/groupbyinc/flux/common/netty/buffer/CompositeByteBuf;??
??java/lang/AssertionError?no IO happens here?*(Ljava/lang/String;Ljava/lang/Throwable;)V?
??slice8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;	composite:Lcom/groupbyinc/flux/common/netty/buffer/CompositeByteBuf;exLjava/io/IOException;@Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefIterator;buffersCLjava/util/List;Ljava/util/List;	reference1Lcom/groupbyinc/flux/common/bytes/BytesReference;toBytesReferenced(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/bytes/BytesReference;/com/groupbyinc/flux/common/netty/buffer/ByteBuf?
readableBytes?5
??e(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/bytes/BytesReference;??
?buffer5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)V?
f?
closeChannels(Ljava/util/Collection;)Vjava/lang/Exception?
ojava/util/Collection?()Ljava/util/Iterator;j???java/util/Iterator?hasNext()Z????()Ljava/lang/Object;v???0com/groupbyinc/flux/common/netty/channel/Channel?isOpen????close:()Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;????failed to close channels?
YO
addSuppressed(Ljava/lang/Throwable;)V??
Y?u?6com/groupbyinc/flux/common/netty/channel/ChannelFuture?awaitUninterruptibly????eLjava/lang/Exception;channel2Lcom/groupbyinc/flux/common/netty/channel/Channel;future8Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;channelsJLjava/util/Collection;Ljava/util/Collection;closingExceptionsfuturesJLjava/util/List;maybeDie2com/groupbyinc/flux/common/logging/ESLoggerFactory?	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;??
??$com/groupbyinc/flux/ExceptionsHelper?
maybeErrorL(Ljava/lang/Throwable;Lorg/apache/logging/log4j/Logger;)Ljava/util/Optional;??
??java/util/Optional?	isPresent??
?java/lang/Thread
currentThread()Ljava/lang/Thread;

getStackTrace ()[Ljava/lang/StackTraceElement;	

formatStackTrace2([Ljava/lang/StackTraceElement;)Ljava/lang/String;
?#fatal error on the network layer
{}org/apache/logging/log4j/Loggererror'(Ljava/lang/String;Ljava/lang/Object;)V"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
lambda$maybeDie$0(Ljava/util/Optional;)V !
"#run*(Ljava/util/Optional;)Ljava/lang/Runnable;%&'(Ljava/lang/Runnable;)V)
*start,
-java/lang/Throwable/	formattedcauseLjava/lang/Throwable;logger!Lorg/apache/logging/log4j/Logger;'Ljava/util/Optional;Ljava/util/Optional;get8?
?9java/lang/Error;
Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory?setDefaultFactoryQ(Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory;)VAB
@C
+CodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions	SignatureM(Ljava/util/Collection;)VBootstrapMethods
SourceFileInnerClasses!


F/*??GH.	F?H=	F?P?!?'<???)?/?
?3?0?7?)?=??Y?ESY?7?ES?KM?MY,?P??G F	QRP4SETUH2IJKRS"T)Y5\;]BYF^O`I?,	VWF@n*?^??d?*?f?*?f?i?*?mL?oY?qM+?yYN?,-?-??-??????W???,????:,??W?N??Y?-???(abYG>02??W??c??Oj?(F??n??J(F??H6
ghjkmo(r3sLuWv_wbxcyI&?
su?#{?[suY	??F3	**?????G	?bH???F>
?fY*???G
?b
?SH?	??F?L?oY??M*??N-???G-????:????,????W?:+?
?YYط?L+?ݧ??,??N-???-????:??W???+?+??%BE?G>G??%6??y????????
???J???
???HF??
?%?4?B?E?G?K?U?[?^?y?????????I.	?Yu??0?B????????KYLM	??FP??L*+??M,??????N+-??Y,?(?+?.?:?Y,?(?+?.??'::<:G*
1RP23J45D?7JD?6H2?????'?4?7?:?I?L?O?I?:0?0
 !F2*?:??D?+Y?E?)?H
1
?N$OP	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy