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

com.groupbyinc.flux.common.util.concurrent.AsyncIOProcessor.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?;com/groupbyinc/flux/common/util/concurrent/AsyncIOProcessor+Ljava/lang/Object;java/lang/ObjectAsyncIOProcessor.javalogger!Lorg/apache/logging/log4j/Logger;queue)Ljava/util/concurrent/ArrayBlockingQueue;?Ljava/util/concurrent/ArrayBlockingQueue;>;>;promiseSemaphore Ljava/util/concurrent/Semaphore;%(Lorg/apache/logging/log4j/Logger;I)V()V
java/util/concurrent/Semaphore(I)V

		'java/util/concurrent/ArrayBlockingQueue
	
	thisELcom/groupbyinc/flux/common/util/concurrent/AsyncIOProcessor;=Lcom/groupbyinc/flux/common/util/concurrent/AsyncIOProcessor;	queueSizeIput2(Ljava/lang/Object;Ljava/util/function/Consumer;)Vjava/lang/InterruptedException(item must not be null*java/util/Objects,requireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;./
-0listener must not be null2
tryAcquire()Z45
6(com/groupbyinc/flux/common/collect/Tuple8'(Ljava/lang/Object;Ljava/lang/Object;)V:
9;(Ljava/lang/Object;)V&=
>java/util/function/Consumer@java/lang/ThreadB
currentThread()Ljava/lang/Thread;DE
CF	interruptH
CIacceptK=ALjava/util/ArrayListN
Ojava/util/ListQadd(Ljava/lang/Object;)ZSTRUdrainAndProcess(Ljava/util/List;)VWX
Yrelease[
\java/lang/Throwable^isEmpty`5
ae Ljava/lang/InterruptedException;
candidatesxLjava/util/List;>;>;Ljava/util/List;itemTItem;Ljava/lang/Object;listener4Ljava/util/function/Consumer;Ljava/util/function/Consumer;promisedZ	itemTuplefLcom/groupbyinc/flux/common/collect/Tuple;>;*Lcom/groupbyinc/flux/common/collect/Tuple;drainTo(Ljava/util/Collection;)Ist
uprocessListwX
xclearzR{java/lang/Exception}Rawrite?X
?failed to write candidates?org/apache/logging/log4j/Logger?debug*(Ljava/lang/String;Ljava/lang/Throwable;)V????iterator()Ljava/util/Iterator;??R?java/util/Iterator?hasNext?5??next()Ljava/lang/Object;????v2??
9?failed to notify callback?warn????exLjava/lang/Exception;consumertuple	exceptionjava/io/IOException?	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable=(TItem;Ljava/util/function/Consumer;)V{(Ljava/util/List;>;>;)V
Exceptions
SourceFile!	
?
??"*?*?Y??*+?*?Y?? ?? "!#""$%?"!"?,*-.!/&'??++?1W,3?1W*??7>?9Y+,?<:?&*? ?9Y+,?%A5E8B:C@DHJVK_McOmRsTzU}T?U?V?Y?[?\?[?\?_?.	?8A9)
?RO_c_???WX?q*? +?vW*+?y+?|??!#eg?!"ef?b	cde??wX??eM+??*+???N*??-??-M+??N-???5-???9:???A:,?M?:*??????ȱ~GOR~?H??T
??G?m=$?re!#eegc???*G?l=$?qe!"eef?>hikplm o"r=sGuOxRvTwaydz?>?R~~???(R~?9A~?????X??????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy