com.groupbyinc.flux.common.util.concurrent.AsyncIOProcessor.class Maven / Gradle / Ivy
???? 4 ? ;com/groupbyinc/flux/common/util/concurrent/AsyncIOProcessor +Ljava/lang/Object; java/lang/Object AsyncIOProcessor.java logger !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
this ELcom/groupbyinc/flux/common/util/concurrent/AsyncIOProcessor; =Lcom/groupbyinc/flux/common/util/concurrent/AsyncIOProcessor; queueSize I put 2(Ljava/lang/Object;Ljava/util/function/Consumer;)V java/lang/InterruptedException ( item must not be null * java/util/Objects , requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; . /
- 0 listener must not be null 2
tryAcquire ()Z 4 5
6 (com/groupbyinc/flux/common/collect/Tuple 8 '(Ljava/lang/Object;Ljava/lang/Object;)V :
9 ; (Ljava/lang/Object;)V &